root/nextboard/src/org/springframework/samples/kyuriboard/domain/Board.java

리비전 3, 2.9 kB (mefour에 의해 체크인됨, 16 년 전)

ASSIGNED - # 1: 인큐페이터 사이트를 위한 개념 정립
http://221.150.127.106:8081/projects/hubproject/ticket/1

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 Board implements Serializable {
14
15         /**
16          * 직렬화 ID
17          */
18         private static final long serialVersionUID = 1L;
19
20         /**
21          * 게시물 ID
22          */
23         private int boardId;
24
25         /**
26          * 게시물 제목
27          */
28         private String title;
29
30         /**
31          * 조회수
32          */
33         private int visited;
34
35         /**
36          * 추천수
37          */
38         private int recom;
39
40         /**
41          * 글쓴이 IP ADDRESS
42          */
43         private String userIp;
44
45         /**
46          * 게시물의 HTML 여부(Y : HTML 문법 사용, N : HTML 문법 사용 안함)
47          */
48         private String htmlyn;
49
50         /**
51          * 게시물 입력일
52          */
53         private Date insertDate;
54
55         /**
56          * 게시물 내용
57          */
58         private String content;
59
60         /**
61          * 게시물 작성자의 사용자ID
62          */
63         private String userId;
64
65         /**
66          * @return the boardId
67          */
68         public int getBoardId() {
69                 return boardId;
70         }
71
72         /**
73          * @param boardId
74          *            the boardId to set
75          */
76         public void setBoardId(int boardId) {
77                 this.boardId = boardId;
78         }
79
80         /**
81          * @return the content
82          */
83         public String getContent() {
84                 return content;
85         }
86
87         /**
88          * @param content
89          *            the content to set
90          */
91         public void setContent(String content) {
92                 this.content = content;
93         }
94
95         /**
96          * @return the htmlyn
97          */
98         public String getHtmlyn() {
99                 return htmlyn;
100         }
101
102         /**
103          * @param htmlyn
104          *            the htmlyn to set
105          */
106         public void setHtmlyn(String htmlyn) {
107                 this.htmlyn = htmlyn;
108         }
109
110         /**
111          * @return the insertDate
112          */
113         public Date getInsertDate() {
114                 return insertDate;
115         }
116
117         /**
118          * @param insertDate
119          *            the insertDate to set
120          */
121         public void setInsertDate(Date insertDate) {
122                 this.insertDate = insertDate;
123         }
124
125         /**
126          * @return the recom
127          */
128         public int getRecom() {
129                 return recom;
130         }
131
132         /**
133          * @param recom
134          *            the recom to set
135          */
136         public void setRecom(int recom) {
137                 this.recom = recom;
138         }
139
140         /**
141          * @return the title
142          */
143         public String getTitle() {
144                 return title;
145         }
146
147         /**
148          * @param title
149          *            the title to set
150          */
151         public void setTitle(String title) {
152                 this.title = title;
153         }
154
155         /**
156          * @return the userId
157          */
158         public String getUserId() {
159                 return userId;
160         }
161
162         /**
163          * @param userId
164          *            the userId to set
165          */
166         public void setUserId(String userId) {
167                 this.userId = userId;
168         }
169
170         /**
171          * @return the userIp
172          */
173         public String getUserIp() {
174                 return userIp;
175         }
176
177         /**
178          * @param userIp
179          *            the userIp to set
180          */
181         public void setUserIp(String userIp) {
182                 this.userIp = userIp;
183         }
184
185         /**
186          * @return the visited
187          */
188         public int getVisited() {
189                 return visited;
190         }
191
192         /**
193          * @param visited
194          *            the visited to set
195          */
196         public void setVisited(int visited) {
197                 this.visited = visited;
198         }
199
200 }
참고: 소스 브라우저를 사용하면서 도움이 필요하다면, TracBrowser를 참고하십시오.