-
Notifications
You must be signed in to change notification settings - Fork 3
/
Comment.java
52 lines (44 loc) · 1.21 KB
/
Comment.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.model;
import java.util.Date;
public class Comment {
private int commentId;
private String commentedUserId;
private String commentUserId;
private String commentContent;
private String commentTime;
public int getCommentId() {
return commentId;
}
public void setCommentId(int commentId) {
this.commentId = commentId;
}
public String getCommentedUserId() {
return commentedUserId;
}
public void setCommentedUserId(String commentedUserId) {
this.commentedUserId = commentedUserId;
}
public String getCommentUserId() {
return commentUserId;
}
public void setCommentUserId(String commentUserId) {
this.commentUserId = commentUserId;
}
public String getCommentContent() {
return commentContent;
}
public void setCommentContent(String commentContent) {
this.commentContent = commentContent;
}
public String getCommentTime() {
return commentTime;
}
public void setCommentTime(String commentTime) {
this.commentTime = commentTime;
}
@Override
public String toString() {
return "Comment [commentId=" + commentId + ", commentedUserId=" + commentedUserId + ", commentUserId="
+ commentUserId + ", commentContent=" + commentContent + ", commentTime=" + commentTime + "]";
}
}