68b1ec1ad9aef029bcce0b7dd61b7d01a2a03ea0.svn-base
1.44 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.modules.oa.entity;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.User;
import java.util.Date;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 通知通告记录Entity
* @author ThinkGem
* @version 2014-05-16
*/
public class OaNotifyRecord extends DataEntity<OaNotifyRecord> {
private static final long serialVersionUID = 1L;
private OaNotify oaNotify; // 通知通告ID
private User user; // 接受人
private String readFlag; // 阅读标记(0:未读;1:已读)
private Date readDate; // 阅读时间
public OaNotifyRecord() {
super();
}
public OaNotifyRecord(String id){
super(id);
}
public OaNotifyRecord(OaNotify oaNotify){
this.oaNotify = oaNotify;
}
public OaNotify getOaNotify() {
return oaNotify;
}
public void setOaNotify(OaNotify oaNotify) {
this.oaNotify = oaNotify;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
@Length(min=0, max=1, message="阅读标记(0:未读;1:已读)长度必须介于 0 和 1 之间")
public String getReadFlag() {
return readFlag;
}
public void setReadFlag(String readFlag) {
this.readFlag = readFlag;
}
public Date getReadDate() {
return readDate;
}
public void setReadDate(Date readDate) {
this.readDate = readDate;
}
}