package net.okjsp.community.model; import net.okjsp.user.model.User; import java.util.Date; public class Comment { //게시판 번호 private int boardId; //글 번호 private int writeNo; //코멘트 번호 private int commentId; //본문 private String content; //작성자 id private int userId; //올린 시간 private Date writeDate; //수정 시간 private Date updateDate; //작성자 private User user; public int getBoardId() { return boardId; } public void setBoardId(int boardId) { this.boardId = boardId; } public int getWriteNo() { return writeNo; } public void setWriteNo(int writeNo) { this.writeNo = writeNo; } public int getCommentId() { return commentId; } public void setCommentId(int commentId) { this.commentId = commentId; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Date getWriteDate() { return writeDate; } public void setWriteDate(Date writeDate) { this.writeDate = writeDate; } public Date getUpdateDate() { return updateDate; } public void setUpdateDate(Date updateDate) { this.updateDate = updateDate; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } }