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;
|
}
|
|
}
|