admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClassShop.java
@@ -1,132 +1,133 @@
package com.yeshi.fanli.entity.brand;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.entity.taobao.TaoBaoShop;
/**
 * 品牌分类店铺
 *
 * @author Administrator
 *
 */
@Table("yeshi_ec_brand_class_shop")
public class BrandClassShop {
   @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;
   // 点击次数
   @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;
   }
}
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;
   }
}