Line | |
---|
1 |
/** |
---|
2 |
* |
---|
3 |
*/ |
---|
4 |
package org.springframework.samples.kyuriboard.domain; |
---|
5 |
|
---|
6 |
import java.io.Serializable; |
---|
7 |
import java.util.Date; |
---|
8 |
|
---|
9 |
/** |
---|
10 |
* @author DAMI(archy712@naver.com) |
---|
11 |
* |
---|
12 |
*/ |
---|
13 |
public class Memo implements Serializable { |
---|
14 |
|
---|
15 |
/** |
---|
16 |
* 직렬화 ID |
---|
17 |
*/ |
---|
18 |
private static final long serialVersionUID = 1L; |
---|
19 |
|
---|
20 |
/** |
---|
21 |
* 메모 ID |
---|
22 |
*/ |
---|
23 |
private int memoId; |
---|
24 |
|
---|
25 |
/** |
---|
26 |
* 메모가 속한 게시물 ID |
---|
27 |
*/ |
---|
28 |
private int boardId; |
---|
29 |
|
---|
30 |
/** |
---|
31 |
* 메모 내용 |
---|
32 |
*/ |
---|
33 |
private String content; |
---|
34 |
|
---|
35 |
/** |
---|
36 |
* 메모 입력일 |
---|
37 |
*/ |
---|
38 |
private Date insertDate; |
---|
39 |
|
---|
40 |
/** |
---|
41 |
* 메모 작성자 사용자ID |
---|
42 |
*/ |
---|
43 |
private String userId; |
---|
44 |
|
---|
45 |
/** |
---|
46 |
* @return the boardId |
---|
47 |
*/ |
---|
48 |
public int getBoardId() { |
---|
49 |
return boardId; |
---|
50 |
} |
---|
51 |
|
---|
52 |
/** |
---|
53 |
* @param boardId the boardId to set |
---|
54 |
*/ |
---|
55 |
public void setBoardId(int boardId) { |
---|
56 |
this.boardId = boardId; |
---|
57 |
} |
---|
58 |
|
---|
59 |
/** |
---|
60 |
* @return the content |
---|
61 |
*/ |
---|
62 |
public String getContent() { |
---|
63 |
return content; |
---|
64 |
} |
---|
65 |
|
---|
66 |
/** |
---|
67 |
* @param content the content to set |
---|
68 |
*/ |
---|
69 |
public void setContent(String content) { |
---|
70 |
this.content = content; |
---|
71 |
} |
---|
72 |
|
---|
73 |
/** |
---|
74 |
* @return the insertDate |
---|
75 |
*/ |
---|
76 |
public Date getInsertDate() { |
---|
77 |
return insertDate; |
---|
78 |
} |
---|
79 |
|
---|
80 |
/** |
---|
81 |
* @param insertDate the insertDate to set |
---|
82 |
*/ |
---|
83 |
public void setInsertDate(Date insertDate) { |
---|
84 |
this.insertDate = insertDate; |
---|
85 |
} |
---|
86 |
|
---|
87 |
/** |
---|
88 |
* @return the memoId |
---|
89 |
*/ |
---|
90 |
public int getMemoId() { |
---|
91 |
return memoId; |
---|
92 |
} |
---|
93 |
|
---|
94 |
/** |
---|
95 |
* @param memoId the memoId to set |
---|
96 |
*/ |
---|
97 |
public void setMemoId(int memoId) { |
---|
98 |
this.memoId = memoId; |
---|
99 |
} |
---|
100 |
|
---|
101 |
/** |
---|
102 |
* @return the userId |
---|
103 |
*/ |
---|
104 |
public String getUserId() { |
---|
105 |
return userId; |
---|
106 |
} |
---|
107 |
|
---|
108 |
/** |
---|
109 |
* @param userId the userId to set |
---|
110 |
*/ |
---|
111 |
public void setUserId(String userId) { |
---|
112 |
this.userId = userId; |
---|
113 |
} |
---|
114 |
|
---|
115 |
|
---|
116 |
|
---|
117 |
} |
---|