| | |
| | | package com.yeshi.fanli.entity.bus.clazz;
|
| | |
|
| | | 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_sub_class_label")
|
| | | public class GoodsSubClassLabel {
|
| | |
|
| | | public GoodsSubClassLabel(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public GoodsSubClassLabel() {
|
| | | }
|
| | |
|
| | | @Expose
|
| | | @Column(name = "scl_id")
|
| | | private Long id;// 主键ID
|
| | |
|
| | | @Expose
|
| | | @Column(name = "scl_name")
|
| | | private String name;// 名字
|
| | | @Column(name = "scl_order_by")
|
| | | private Integer orderBy;// 排序值
|
| | | @Column(name = "scl_class_id")
|
| | | private GoodsClass goodsClass;// 主分类ID
|
| | | @Column(name = "scl_create_time")
|
| | | private Date createTime;
|
| | | @Column(name = "scl_update_time")
|
| | | private Date updateTime;
|
| | |
|
| | | 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 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 GoodsClass getGoodsClass() {
|
| | | return goodsClass;
|
| | | }
|
| | |
|
| | | public void setGoodsClass(GoodsClass goodsClass) {
|
| | | this.goodsClass = goodsClass;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.clazz; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | |
| | | /** |
| | | * 二级分类标签 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_sub_class_label") |
| | | public class GoodsSubClassLabel { |
| | | |
| | | public GoodsSubClassLabel(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public GoodsSubClassLabel() { |
| | | } |
| | | |
| | | @Expose |
| | | @Column(name = "scl_id") |
| | | private Long id;// 主键ID |
| | | |
| | | @Expose |
| | | @Column(name = "scl_name") |
| | | private String name;// 名字 |
| | | @Column(name = "scl_order_by") |
| | | private Integer orderBy;// 排序值 |
| | | @Column(name = "scl_class_id") |
| | | private GoodsClass goodsClass;// 主分类ID |
| | | @Column(name = "scl_create_time") |
| | | private Date createTime; |
| | | @Column(name = "scl_update_time") |
| | | private Date updateTime; |
| | | |
| | | 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 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 GoodsClass getGoodsClass() { |
| | | return goodsClass; |
| | | } |
| | | |
| | | public void setGoodsClass(GoodsClass goodsClass) { |
| | | this.goodsClass = goodsClass; |
| | | } |
| | | |
| | | } |