admin
2020-04-13 dd5b15229cb15459fa7c31ccea77dac28cbfafbd
fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java
@@ -1,7 +1,12 @@
package com.yeshi.fanli.entity.brand;
import java.io.Serializable;
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.bus.clazz.GoodsClass;
/**
@@ -10,15 +15,49 @@
 * @author Administrator
 *
 */
public class BrandClass {
@Table("yeshi_ec_brand_class")
public class BrandClass implements Serializable{
   /**
    *
    */
   private static final long serialVersionUID = 1L;
   @Expose
   @Column(name = "bc_id")
   private Long id;
   @Expose
   @Column(name = "bc_name")
   private String name;// 分类名称
   @Column(name = "bc_gclass_id")
   private GoodsClass goodsClass;// 对应的一级分类
   private Boolean show;
   @Column(name = "bc_state")
   private Integer state;
   @Column(name = "bc_orderby")
   private Integer orderBy;// 排序值,越小越靠前
   @Column(name = "bc_create_time")
   private Date createTime;
   @Column(name = "bc_update_time")
   private Date updateTime;
   private Long gcid;
   private String gcName;
   public BrandClass() {}
   public BrandClass(Long id) {
      this.id = id;
   }
   public Long getId() {
      return id;
   }
@@ -43,14 +82,6 @@
      this.goodsClass = goodsClass;
   }
   public Boolean getShow() {
      return show;
   }
   public void setShow(Boolean show) {
      this.show = show;
   }
   public Integer getOrderBy() {
      return orderBy;
   }
@@ -74,4 +105,28 @@
   public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
   }
   public Integer getState() {
      return state;
   }
   public void setState(Integer state) {
      this.state = state;
   }
   public Long getGcid() {
      return gcid;
   }
   public void setGcid(Long gcid) {
      this.gcid = gcid;
   }
   public String getGcName() {
      return gcName;
   }
   public void setGcName(String gcName) {
      this.gcName = gcName;
   }
}