1 | |
package com.nilhcem.fakesmtp.model; |
2 | |
|
3 | |
import java.util.Date; |
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | 1 | public final class EmailModel { |
16 | |
|
17 | |
private Date receivedDate; |
18 | |
private String from; |
19 | |
private String to; |
20 | |
private String subject; |
21 | |
private String emailStr; |
22 | |
private String filePath; |
23 | |
|
24 | |
public Date getReceivedDate() { |
25 | 0 | return receivedDate; |
26 | |
} |
27 | |
public void setReceivedDate(Date receivedDate) { |
28 | 1 | this.receivedDate = receivedDate; |
29 | 1 | } |
30 | |
|
31 | |
public String getFrom() { |
32 | 1 | return from; |
33 | |
} |
34 | |
public void setFrom(String from) { |
35 | 1 | this.from = from; |
36 | 1 | } |
37 | |
|
38 | |
public String getTo() { |
39 | 2 | return to; |
40 | |
} |
41 | |
public void setTo(String to) { |
42 | 1 | this.to = to; |
43 | 1 | } |
44 | |
|
45 | |
public String getSubject() { |
46 | 1 | return subject; |
47 | |
} |
48 | |
public void setSubject(String subject) { |
49 | 1 | this.subject = subject; |
50 | 1 | } |
51 | |
|
52 | |
public String getEmailStr() { |
53 | 2 | return emailStr; |
54 | |
} |
55 | |
public void setEmailStr(String emailStr) { |
56 | 1 | this.emailStr = emailStr; |
57 | 1 | } |
58 | |
|
59 | |
public String getFilePath() { |
60 | 4 | return filePath; |
61 | |
} |
62 | |
public void setFilePath(String filePath) { |
63 | 1 | this.filePath = filePath; |
64 | 1 | } |
65 | |
} |