package com.yeshi.fanli.entity.bus.clazz;
|
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.Table;
|
|
import com.google.gson.annotations.Expose;
|
|
/**
|
* 淘宝分类-映射-系统分类
|
*
|
* @author yj
|
*
|
*/
|
@Entity
|
@Table(name = "yeshi_ec_taobao_class_mapper")
|
@org.yeshi.utils.mybatis.Table("yeshi_ec_taobao_class_mapper")
|
public class TaoBaoClassRelation {
|
@Id
|
@Expose
|
@Column(name = "tm_id")
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@org.yeshi.utils.mybatis.Column(name="tm_id")
|
private Long id;
|
|
@Expose
|
@Column(name = "tm_system_cid")
|
@org.yeshi.utils.mybatis.Column(name="tm_system_cid")
|
private Long cid; // 本系统一级类目id
|
|
@Expose
|
@Column(name = "tm_system_sub_cid")
|
@org.yeshi.utils.mybatis.Column(name="tm_system_sub_cid")
|
private Long subId; //本系统二级类目id
|
|
@Expose
|
@Column(name = "tm_taobao_cid")
|
@org.yeshi.utils.mybatis.Column(name="tm_taobao_cid")
|
private Long taobaoCid; // 淘宝类目id
|
|
@JoinColumn(name = "tm_weight")
|
@org.yeshi.utils.mybatis.Column(name = "tm_weight")
|
private Double weight; // 权重
|
|
@JoinColumn(name = "tm_createtime")
|
@org.yeshi.utils.mybatis.Column(name = "tm_createtime")
|
private Date createtime; // 创建时间
|
|
@JoinColumn(name = "tm_updatetime")
|
@org.yeshi.utils.mybatis.Column(name = "tm_updatetime")
|
private Date updatetime; // 更新时间(修改时间)
|
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getCid() {
|
return cid;
|
}
|
|
public void setCid(Long cid) {
|
this.cid = cid;
|
}
|
|
public Long getSubId() {
|
return subId;
|
}
|
|
public void setSubId(Long subId) {
|
this.subId = subId;
|
}
|
|
public Long getTaobaoCid() {
|
return taobaoCid;
|
}
|
|
public void setTaobaoCid(Long taobaoCid) {
|
this.taobaoCid = taobaoCid;
|
}
|
|
public Double getWeight() {
|
return weight;
|
}
|
|
public void setWeight(Double weight) {
|
this.weight = weight;
|
}
|
|
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;
|
}
|
|
|
}
|