yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java
@@ -1,6 +1,7 @@
package com.yeshi.fanli.entity.bus.clazz;
import java.io.Serializable;
import java.util.List;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
@@ -20,6 +21,15 @@
    * 
    */
   private static final long serialVersionUID = 1L;
   public final static int SEX_DEFAULT = 0;  // 通用
   public final static int SEX_WOMAN = 1;  // 女
   public final static int SEX_MAN = 2;  //  男
   public final static int SEX_DEFAULT_WOMAN = 10;  // 女+ 通用
   public final static int SEX_DEFAULT_MAN = 20;  // 男+ 通用
   public final static int SEX_MAN_WOMAN = 12;  // 男+ 女
   public final static int SEX_ALL = 120;  // 男+ 女 + 通用
   @Expose
   @Column(name = "id")
@@ -59,12 +69,29 @@
   @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 String taobaoCids;
   // 动态二级商品分类
   @Expose
   private List<GoodsClass> listSub;
   
   public GoodsClass() {
   }
@@ -72,6 +99,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) {
@@ -185,7 +217,21 @@
   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;
   }
}