| | |
| | | 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.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | /**
|
| | | * 淘宝分类
|
| | | * |
| | | * @author yj
|
| | | *
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_taobao_class")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_taobao_class")
|
| | | public class TaoBaoClass {
|
| | | @Id
|
| | | @Expose
|
| | | @Column(name = "tc_id")
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_id")
|
| | | private Long id;
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_category_id")
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_category_id")
|
| | | private Integer categoryId; // 分类id
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_category_name")
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_category_name")
|
| | | private String categoryName; // 淘宝分类名称
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_parent_category_id")
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_parent_category_id")
|
| | | private Integer parentCategoryId; // 上级淘宝分类id
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_createtime")
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_createtime")
|
| | | private Date createtime; // 创建时间
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_updatetime")
|
| | | @org.yeshi.utils.mybatis.Column(name="tc_updatetime")
|
| | | private Date updatetime; // 更新时间
|
| | | |
| | | |
| | | |
| | | public TaoBaoClass(){}
|
| | | |
| | | public TaoBaoClass(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Integer getCategoryId() {
|
| | | return categoryId;
|
| | | }
|
| | |
|
| | | public void setCategoryId(Integer categoryId) {
|
| | | this.categoryId = categoryId;
|
| | | }
|
| | |
|
| | | public String getCategoryName() {
|
| | | return categoryName;
|
| | | }
|
| | |
|
| | | public void setCategoryName(String categoryName) {
|
| | | this.categoryName = categoryName;
|
| | | }
|
| | |
|
| | | public Integer getParentCategoryId() {
|
| | | return parentCategoryId;
|
| | | }
|
| | |
|
| | | public void setParentCategoryId(Integer parentCategoryId) {
|
| | | this.parentCategoryId = parentCategoryId;
|
| | | }
|
| | |
|
| | | 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;
|
| | | }
|
| | | |
| | | }
|
| | | 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 yj |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_taobao_class") |
| | | public class TaoBaoClass { |
| | | |
| | | @Expose |
| | | @Column(name = "tc_id") |
| | | private Long id; |
| | | |
| | | @Expose |
| | | @Column(name = "tc_category_id") |
| | | private Integer categoryId; // 分类id |
| | | |
| | | @Expose |
| | | @Column(name = "tc_category_name") |
| | | private String categoryName; // 淘宝分类名称 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_parent_category_id") |
| | | private Integer parentCategoryId; // 上级淘宝分类id |
| | | |
| | | @Expose |
| | | @Column(name = "tc_createtime") |
| | | private Date createtime; // 创建时间 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_updatetime") |
| | | private Date updatetime; // 更新时间 |
| | | |
| | | |
| | | |
| | | public TaoBaoClass(){} |
| | | |
| | | public TaoBaoClass(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getCategoryId() { |
| | | return categoryId; |
| | | } |
| | | |
| | | public void setCategoryId(Integer categoryId) { |
| | | this.categoryId = categoryId; |
| | | } |
| | | |
| | | public String getCategoryName() { |
| | | return categoryName; |
| | | } |
| | | |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | } |
| | | |
| | | public Integer getParentCategoryId() { |
| | | return parentCategoryId; |
| | | } |
| | | |
| | | public void setParentCategoryId(Integer parentCategoryId) { |
| | | this.parentCategoryId = parentCategoryId; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | } |