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;
|
|
/**
|
* 品牌分类
|
*
|
* @author Administrator
|
*
|
*/
|
@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;// 对应的一级分类
|
|
@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;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public GoodsClass getGoodsClass() {
|
return goodsClass;
|
}
|
|
public void setGoodsClass(GoodsClass goodsClass) {
|
this.goodsClass = goodsClass;
|
}
|
|
public Integer getOrderBy() {
|
return orderBy;
|
}
|
|
public void setOrderBy(Integer orderBy) {
|
this.orderBy = orderBy;
|
}
|
|
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 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;
|
}
|
}
|