From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java |  183 +++++++++++++++++++++++++++++++++------------
 1 files changed, 133 insertions(+), 50 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java b/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java
index 10d14b4..8fed796 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java
@@ -1,50 +1,133 @@
-package com.yeshi.fanli.entity.brand;
-
-import java.util.Date;
-
-import com.yeshi.fanli.entity.taobao.TaoBaoShop;
-
-/**
- * 鍝佺墝鍒嗙被搴楅摵
- * 
- * @author Administrator
- *
- */
-public class BrandClassShop {
-	private Long id;
-	private BrandClass brandClass;
-	private TaoBaoShop shop;
-	private Date createTime;
-
-	public Long getId() {
-		return id;
-	}
-
-	public void setId(Long id) {
-		this.id = id;
-	}
-
-	public BrandClass getBrandClass() {
-		return brandClass;
-	}
-
-	public void setBrandClass(BrandClass brandClass) {
-		this.brandClass = brandClass;
-	}
-
-	public TaoBaoShop getShop() {
-		return shop;
-	}
-
-	public void setShop(TaoBaoShop shop) {
-		this.shop = shop;
-	}
-
-	public Date getCreateTime() {
-		return createTime;
-	}
-
-	public void setCreateTime(Date createTime) {
-		this.createTime = createTime;
-	}
-}
+package com.yeshi.fanli.entity.brand;
+
+import java.util.Date;
+
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+import com.google.gson.annotations.Expose;
+import com.yeshi.common.entity.taobao.TaoBaoShop;
+
+/**
+ * 鍝佺墝鍒嗙被搴楅摵
+ * 
+ * @author Administrator
+ *
+ */
+@Table("yeshi_ec_brand_class_shop")
+public class BrandClassShop {
+	public static int STATE_VALID = 1;// 鍚敤
+	public static int STATE_INVALID = 0;// 涓嶅惎鐢�
+
+	@Expose
+	@Column(name = "bcs_id")
+	private Long id;
+
+	@Column(name = "bcs_cid")
+	private BrandClass brandClass;
+
+	@Column(name = "bcs_shop_id")
+	private TaoBaoShop shop;
+
+	@Column(name = "bcs_top")
+	private Integer top;
+
+	@Column(name = "bcs_orderby")
+	private Integer orderby;
+
+	@Column(name = "bcs_state")
+	private Integer state;// 1-鍚敤 0-绂佺敤
+
+	// 鐐瑰嚮娆℃暟
+	@Column(name = "bcs_browse_num")
+	private Long browseNum;
+
+	@Column(name = "bcs_create_time")
+	private Date createTime;
+
+	@Column(name = "bcs_update_time")
+	private Date updateTime;
+
+	// 鍔垫暟閲�
+	private long couponNum;
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public BrandClass getBrandClass() {
+		return brandClass;
+	}
+
+	public void setBrandClass(BrandClass brandClass) {
+		this.brandClass = brandClass;
+	}
+
+	public TaoBaoShop getShop() {
+		return shop;
+	}
+
+	public void setShop(TaoBaoShop shop) {
+		this.shop = shop;
+	}
+
+	public Integer getTop() {
+		return top;
+	}
+
+	public void setTop(Integer top) {
+		this.top = top;
+	}
+
+	public Integer getOrderby() {
+		return orderby;
+	}
+
+	public void setOrderby(Integer orderby) {
+		this.orderby = orderby;
+	}
+
+	public Integer getState() {
+		return state;
+	}
+
+	public void setState(Integer state) {
+		this.state = state;
+	}
+
+	public Date getCreateTime() {
+		return createTime;
+	}
+
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+
+	public Date getUpdateTime() {
+		return updateTime;
+	}
+
+	public void setUpdateTime(Date updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	public Long getBrowseNum() {
+		return browseNum;
+	}
+
+	public void setBrowseNum(Long browseNum) {
+		this.browseNum = browseNum;
+	}
+
+	public long getCouponNum() {
+		return couponNum;
+	}
+
+	public void setCouponNum(long couponNum) {
+		this.couponNum = couponNum;
+	}
+}

--
Gitblit v1.8.0