package com.yeshi.fanli.entity.system; 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; @Entity @Table(name = "yeshi_ec_customer_content") public class CustomerContent { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id") @Expose private long id; @Expose @Column(name = "cn_id") private long cnId; @Expose @Column(name = "title") private String title; @Expose @Column(name = "content") private String content; @Expose @Column(name="createTime") private Date createTime; public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public long getId() { return id; } public void setId(long id) { this.id = id; } public long getCnId() { return cnId; } public void setCnId(long cnId) { this.cnId = cnId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } }