package com.yeshi.fanli.entity.bus.clazz;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
import com.google.gson.annotations.Expose;
|
|
/**
|
* 商品二级分类
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_second_class")
|
public class GoodsSecondClass {
|
|
@Expose
|
@Column(name = "id")
|
private Long id;
|
|
@Expose
|
@Column(name = "name")
|
private String name;
|
|
@Expose
|
@Column(name = "picture")
|
private String picture;
|
|
@Column(name = "pid")
|
private GoodsClass parent;
|
|
@Column(name = "key")
|
private String key;
|
|
@Column(name = "orderby")
|
private Integer orderby;
|
|
@Column(name = "createtime")
|
private Long createtime;
|
|
public GoodsSecondClass() {
|
}
|
|
public GoodsSecondClass(long id) {
|
super();
|
this.id = id;
|
}
|
|
public GoodsSecondClass(String name, String picture, int orderby,
|
long createtime, GoodsClass parent) {
|
super();
|
this.name = name;
|
this.picture = picture;
|
this.orderby = orderby;
|
this.createtime = createtime;
|
this.parent = parent;
|
}
|
|
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 String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public GoodsClass getParent() {
|
return parent;
|
}
|
|
public void setParent(GoodsClass parent) {
|
this.parent = parent;
|
}
|
|
public String getKey() {
|
return key;
|
}
|
|
public void setKey(String key) {
|
this.key = key;
|
}
|
|
public Integer getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(Integer orderby) {
|
this.orderby = orderby;
|
}
|
|
public Long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(Long createtime) {
|
this.createtime = createtime;
|
}
|
|
}
|