package fi.otavanopisto.muikku.plugins.forum.rest; import java.util.Date; public class ForumThreadReplyRESTModel extends ForumMessageRESTModel { public ForumThreadReplyRESTModel() { } public ForumThreadReplyRESTModel(Long id, String message, Long creator, Date created, Long forumAreaId, Long parentReplyId, Date lastModified, Long childReplyCount, Boolean deleted) { super(id, message, creator, created, forumAreaId, lastModified); this.parentReplyId = parentReplyId; this.childReplyCount = childReplyCount; this.deleted = deleted; } public Long getParentReplyId() { return parentReplyId; } public void setParentReplyId(Long parentReplyId) { this.parentReplyId = parentReplyId; } public Long getChildReplyCount() { return childReplyCount; } public void setChildReplyCount(Long childReplyCount) { this.childReplyCount = childReplyCount; } public Boolean getDeleted() { return deleted; } public void setDeleted(Boolean deleted) { this.deleted = deleted; } private Boolean deleted; private Long parentReplyId; private Long childReplyCount; }