1
|
package eu.dnetlib.goldoa.domain;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4
|
|
5
|
import java.util.Date;
|
6
|
|
7
|
/**
|
8
|
* Created by antleb on 9/7/15.
|
9
|
*/
|
10
|
public class Comment implements IsSerializable {
|
11
|
private Person person;
|
12
|
private Date date;
|
13
|
private String comment;
|
14
|
|
15
|
public Comment() {
|
16
|
}
|
17
|
|
18
|
public Comment(Person person, Date date, String comment) {
|
19
|
this.person = person;
|
20
|
this.date = date;
|
21
|
this.comment = comment;
|
22
|
}
|
23
|
|
24
|
public Person getPerson() {
|
25
|
return person;
|
26
|
}
|
27
|
|
28
|
public void setPerson(Person person) {
|
29
|
this.person = person;
|
30
|
}
|
31
|
|
32
|
public Date getDate() {
|
33
|
return date;
|
34
|
}
|
35
|
|
36
|
public void setDate(Date date) {
|
37
|
this.date = date;
|
38
|
}
|
39
|
|
40
|
public String getComment() {
|
41
|
return comment;
|
42
|
}
|
43
|
|
44
|
public void setComment(String comment) {
|
45
|
this.comment = comment;
|
46
|
}
|
47
|
}
|