1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package edu.sampleu.travel.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.List; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | 0 | public class FiscalOfficerInfo implements Serializable { |
27 | |
|
28 | |
private Long id; |
29 | |
private String userName; |
30 | |
private String firstName; |
31 | |
private String objectId; |
32 | |
private Long versionNumber; |
33 | |
|
34 | |
private List<TravelAccountInfo> accounts; |
35 | |
|
36 | |
public Long getId() { |
37 | 0 | return this.id; |
38 | |
} |
39 | |
|
40 | |
public void setId(Long id) { |
41 | 0 | this.id = id; |
42 | 0 | } |
43 | |
|
44 | |
public String getUserName() { |
45 | 0 | return this.userName; |
46 | |
} |
47 | |
|
48 | |
public void setUserName(String userName) { |
49 | 0 | this.userName = userName; |
50 | 0 | } |
51 | |
|
52 | |
public String getFirstName() { |
53 | 0 | return this.firstName; |
54 | |
} |
55 | |
|
56 | |
public void setFirstName(String firstName) { |
57 | 0 | this.firstName = firstName; |
58 | 0 | } |
59 | |
|
60 | |
public List<TravelAccountInfo> getAccounts() { |
61 | 0 | if(accounts == null) { |
62 | 0 | accounts = new ArrayList<TravelAccountInfo>(); |
63 | |
} |
64 | 0 | return this.accounts; |
65 | |
} |
66 | |
|
67 | |
public void setAccounts(List<TravelAccountInfo> accounts) { |
68 | 0 | this.accounts = accounts; |
69 | 0 | } |
70 | |
|
71 | |
public String getObjectId() { |
72 | 0 | return this.objectId; |
73 | |
} |
74 | |
|
75 | |
public void setObjectId(String objectId) { |
76 | 0 | this.objectId = objectId; |
77 | 0 | } |
78 | |
|
79 | |
public Long getVersionNumber() { |
80 | 0 | return this.versionNumber; |
81 | |
} |
82 | |
|
83 | |
public void setVersionNumber(Long versionNumber) { |
84 | 0 | this.versionNumber = versionNumber; |
85 | 0 | } |
86 | |
|
87 | |
} |