package com.zdcf.model; import java.util.Date; public class TwitterPost { private Long id; private String text; private Long userId; private Date createAt; private Integer postType; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getText() { return text; } public void setText(String text) { this.text = text == null ? null : text.trim(); } public Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } public Date getCreateAt() { return createAt; } public void setCreateAt(Date createAt) { this.createAt = createAt; } public Integer getPostType() { return postType; } public void setPostType(Integer postType) { this.postType = postType; } }