admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
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;
   }
}