package pojo; import java.io.Serializable; import java.sql.Timestamp; import java.util.Set; /** * User: yumingzhe * Date: 5/19/12 * Time: 9:36 PM */ public class Blog implements Serializable { private Integer id; private Integer groupId; private String title; private String description; private String content; private Timestamp postDate; private String tag; private String access; private Boolean comment; private SiteUser siteUser; private Activity activity; private Set<CommentEntity> commentEntities; private Group group; public Group getGroup() { return group; } public void setGroup(Group group) { this.group = group; } public Set<CommentEntity> getCommentEntities() { return commentEntities; } public void setCommentEntities(Set<CommentEntity> commentEntities) { this.commentEntities = commentEntities; } public Activity getActivity() { return activity; } public void setActivity(Activity activity) { this.activity = activity; } public SiteUser getSiteUser() { return siteUser; } public void setSiteUser(SiteUser siteUser) { this.siteUser = siteUser; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getGroupId() { return groupId; } public void setGroupId(Integer groupId) { this.groupId = groupId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Timestamp getPostDate() { return postDate; } public void setPostDate(Timestamp postDate) { this.postDate = postDate; } public String getTag() { return tag; } public void setTag(String tag) { this.tag = tag; } public String getAccess() { return access; } public void setAccess(String access) { this.access = access; } public Boolean getComment() { return comment; } public void setComment(Boolean comment) { this.comment = comment; } }