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;
|
|
/**
|
* 品牌信息
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_brand_info")
|
public class BrandInfo implements Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
@Expose
|
@Column(name = "bf_id")
|
private Long id;
|
|
@Column(name = "bf_cid")
|
private BrandClass brandClass;// 分类
|
|
@Expose
|
@Column(name = "bf_name")
|
private String name; // 品牌名称
|
|
@Expose
|
@Column(name = "bf_icon")
|
private String icon; // 品牌logo
|
|
@Column(name = "bf_goods_total")
|
private Integer goodsTotal; // 拥有商品数量
|
|
@Column(name = "bf_weight")
|
private Double weight; // 权重:值越大越前
|
|
@Column(name = "bf_state")
|
private Integer state;// 状态:0停用 1启用
|
|
@Column(name = "bf_create_time")
|
private Date createTime;
|
|
@Column(name = "bf_update_time")
|
private Date updateTime;
|
|
|
public BrandInfo() {}
|
|
|
public BrandInfo(Long id) {
|
this.id = id;
|
}
|
|
|
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 String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public Double getWeight() {
|
return weight;
|
}
|
|
public void setWeight(Double weight) {
|
this.weight = weight;
|
}
|
|
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 Integer getGoodsTotal() {
|
return goodsTotal;
|
}
|
|
public void setGoodsTotal(Integer goodsTotal) {
|
this.goodsTotal = goodsTotal;
|
}
|
}
|