| | |
| | | package com.ycl.jxkg.domain; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class TextContent implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -1279530310964668131L; |
| | | |
| | | public TextContent(){ |
| | | |
| | | } |
| | | |
| | | public TextContent(String content, Date createTime) { |
| | | this.content = content; |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | private Integer id; |
| | | |
| | |
| | | */ |
| | | private Date createTime; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content == null ? null : content.trim(); |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | } |