From 77602de9c796b5fd42b74003727d934df14152fa Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 26 四月 2019 12:24:28 +0800 Subject: [PATCH] 品牌店铺信息管理 +前端接口 --- fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java | 67 +++++++++++++++++++++++++++++---- 1 files changed, 58 insertions(+), 9 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java b/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java index 4acd9a6..64428b0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/brand/BrandClass.java @@ -2,6 +2,10 @@ 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 +14,44 @@ * @author Administrator * */ +@Table("yeshi_ec_brand_class") public class BrandClass { + @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 +76,6 @@ this.goodsClass = goodsClass; } - public Boolean getShow() { - return show; - } - - public void setShow(Boolean show) { - this.show = show; - } - public Integer getOrderBy() { return orderBy; } @@ -74,4 +99,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; + } } -- Gitblit v1.8.0