yujian
2019-06-12 c007868c62c7da5c9ce1bf0e77d9e5f8619826e4
fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java
@@ -6,7 +6,7 @@
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.entity.system.BusinessSystem;
import com.google.gson.annotations.Expose;
/**
 * 商品分类
@@ -22,15 +22,19 @@
    */
   private static final long serialVersionUID = 1L;
   @Expose
   @Column(name = "id")
   private Long id;
   
   @Expose
   @Column(name = "name")
   private String name;
   
   @Expose
   @Column(name = "picture")
   private String picture;
   @Expose
   @Column(name = "url")
   private String url;
   
@@ -52,14 +56,33 @@
   @Column(name = "android_click")
   private Long androidClick;
   
   // 状态
   @Column(name = "cs_state")
   private Integer state;
   
   @Column(name = "sex")
   private Integer sex;//男女  0-部分男女  1-男 2-女
   public Integer getSex() {
      return sex;
   }
   public void setSex(Integer sex) {
      this.sex = sex;
   }
   // 点击次数
   private Long countClick = 0l; 
   // 关联标签数量
   private int countlabel = 0; 
   // 系统关联列表
   private  List<BusinessSystem> systemList;
   private String taobaoCids;
   // 动态二级商品分类
   @Expose
   private List<GoodsClass> listSub;
   
   public GoodsClass() {
   }
@@ -67,6 +90,11 @@
   public GoodsClass(Long id) {
      super();
      this.id = id;
   }
   public GoodsClass(Long id, String name) {
      this.id = id;
      this.name = name;
   }
   public GoodsClass(String name, String picture, Integer orderby, Long createtime) {
@@ -173,12 +201,28 @@
      this.countlabel = countlabel;
   }
   public List<BusinessSystem> getSystemList() {
      return systemList;
   public Integer getState() {
      return state;
   }
   public void setSystemList(List<BusinessSystem> systemList) {
      this.systemList = systemList;
   public void setState(Integer state) {
      this.state = state;
   }
   public String getTaobaoCids() {
      return taobaoCids;
   }
   public void setTaobaoCids(String taobaoCids) {
      this.taobaoCids = taobaoCids;
   }
   public List<GoodsClass> getListSub() {
      return listSub;
   }
   public void setListSub(List<GoodsClass> listSub) {
      this.listSub = listSub;
   }
}