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 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 return this.id;
38 }
39
40 public void setId(Long id) {
41 this.id = id;
42 }
43
44 public String getUserName() {
45 return this.userName;
46 }
47
48 public void setUserName(String userName) {
49 this.userName = userName;
50 }
51
52 public String getFirstName() {
53 return this.firstName;
54 }
55
56 public void setFirstName(String firstName) {
57 this.firstName = firstName;
58 }
59
60 public List<TravelAccountInfo> getAccounts() {
61 if(accounts == null) {
62 accounts = new ArrayList<TravelAccountInfo>();
63 }
64 return this.accounts;
65 }
66
67 public void setAccounts(List<TravelAccountInfo> accounts) {
68 this.accounts = accounts;
69 }
70
71 public String getObjectId() {
72 return this.objectId;
73 }
74
75 public void setObjectId(String objectId) {
76 this.objectId = objectId;
77 }
78
79 public Long getVersionNumber() {
80 return this.versionNumber;
81 }
82
83 public void setVersionNumber(Long versionNumber) {
84 this.versionNumber = versionNumber;
85 }
86
87 }