| | |
| | |
|
| | | 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 org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.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")
|
| | | @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; // 更新时间
|
| | |
|
| | |
|