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/system/CustomerName.java | 152 ++++++++++++++++++++++++-------------------------- 1 files changed, 72 insertions(+), 80 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerName.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerName.java index dbefa50..2e24e4a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerName.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerName.java @@ -1,80 +1,72 @@ -package com.yeshi.fanli.entity.system; - -import java.util.Date; -import java.util.List; - -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 javax.persistence.Transient; - -import com.google.gson.annotations.Expose; - -@Entity -@Table(name = "yeshi_ec_customer_name") -public class CustomerName { - - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - @Column(name = "id") - @Expose - private long id; - - @Column(name = "name") - private String name; - - @Column(name = "createTime") - private Date createTime; - - @Column(name = "type") - private Integer type; // 1:甯姪涓績 2锛氬叧浜庢垜浠� 3锛氳繑鍒╄鎯呯敤鎴峰崗璁� 4锛氳仈绯诲鏈� - - @Transient - private List<CustomerContent> customerContentList;//涓�绾ф爣棰樹笅闈㈢殑浜岀骇鏍囬鍐呭 - - - - public long getId() { - return id; - } - - public void setId(long id) { - this.id = id; - } - - public List<CustomerContent> getCustomerContentList() { - return customerContentList; - } - - public void setCustomerContentList(List<CustomerContent> customerContentList) { - this.customerContentList = customerContentList; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - -} +package com.yeshi.fanli.entity.system; + +import java.util.Date; +import java.util.List; + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.google.gson.annotations.Expose; + +@Table("yeshi_ec_customer_name") +public class CustomerName { + + @Column(name = "id") + @Expose + private Long id; + + @Column(name = "name") + private String name; + + @Column(name = "createTime") + private Date createTime; + + @Column(name = "type") + private Integer type; // 1:甯姪涓績 2锛氬叧浜庢垜浠� 3锛氳繑鍒╄鎯呯敤鎴峰崗璁� 4锛氳仈绯诲鏈� + + + private List<CustomerContent> customerContentList;//涓�绾ф爣棰樹笅闈㈢殑浜岀骇鏍囬鍐呭 + + + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public List<CustomerContent> getCustomerContentList() { + return customerContentList; + } + + public void setCustomerContentList(List<CustomerContent> customerContentList) { + this.customerContentList = customerContentList; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + +} -- Gitblit v1.8.0