Mail.java
5.14 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
package com.diligrp.website.domain;
import java.sql.Timestamp;
/**
*
* <B>Description</B> 邮件历史 <br />
* <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
* 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
* <B>Company</B> 地利集团
* @createTime 2014年6月3日 下午12:51:49
* @author Wang22
*/
public class Mail {
private Long id;
private String ip;
/**
* 发件人
*/
private String sender;
/**
* 收件人
*/
private String addressee;
/**
* 主题
*/
private String subject;
/**
* 内容
*/
private String content;
private Timestamp created;
private Timestamp modified;
/**
* get value of MailHistory.id
* @return the id
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public Long getId() {
return id;
}
/**
* set value of MailHistory.id
* @param id the id to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setId(Long id) {
this.id = id;
}
/**
* get value of MailHistory.ip
* @return the ip
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public String getIp() {
return ip;
}
/**
* set value of MailHistory.ip
* @param ip the ip to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setIp(String ip) {
this.ip = ip;
}
/**
* get value of MailHistory.sender
* @return the sender
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public String getSender() {
return sender;
}
/**
* set value of MailHistory.sender
* @param sender the sender to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setSender(String sender) {
this.sender = sender;
}
/**
* get value of MailHistory.addressee
* @return the addressee
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public String getAddressee() {
return addressee;
}
/**
* set value of MailHistory.addressee
* @param addressee the addressee to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setAddressee(String addressee) {
this.addressee = addressee;
}
/**
* get value of MailHistory.subject
* @return the subject
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public String getSubject() {
return subject;
}
/**
* set value of MailHistory.subject
* @param subject the subject to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setSubject(String subject) {
this.subject = subject;
}
/**
* get value of MailHistory.content
* @return the content
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public String getContent() {
return content;
}
/**
* set value of MailHistory.content
* @param content the content to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setContent(String content) {
this.content = content;
}
/**
* get value of MailHistory.created
* @return the created
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public Timestamp getCreated() {
return created;
}
/**
* set value of MailHistory.created
* @param created the created to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setCreated(Timestamp created) {
this.created = created;
}
/**
* get value of MailHistory.modified
* @return the modified
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public Timestamp getModified() {
return modified;
}
/**
* set value of MailHistory.modified
* @param modified the modified to set
* @createTime 2014年6月3日 下午12:54:16
* @author Wang22
*/
public void setModified(Timestamp modified) {
this.modified = modified;
}
/*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("MailHistory [id=");
builder.append(id);
builder.append(", ip=");
builder.append(ip);
builder.append(", sender=");
builder.append(sender);
builder.append(", addressee=");
builder.append(addressee);
builder.append(", subject=");
builder.append(subject);
builder.append(", content=");
builder.append(content);
builder.append(", created=");
builder.append(created);
builder.append(", modified=");
builder.append(modified);
builder.append("]");
return builder.toString();
}
}