From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/TaoBaoClass.java | 211 ++++++++++++++++++++++++---------------------------- 1 files changed, 99 insertions(+), 112 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/TaoBaoClass.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/TaoBaoClass.java index ed1e658..8b9ee7d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/TaoBaoClass.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/TaoBaoClass.java @@ -1,112 +1,99 @@ -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; + } + +} -- Gitblit v1.8.0