1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.travel.approval;
17
18 import edu.sampleu.travel.approval.dataobject.PrimaryDestination;
19 import org.kuali.rice.krad.document.TransactionalDocumentBase;
20
21 import javax.persistence.*;
22 import java.util.Date;
23
24
25
26
27
28
29 @Entity
30 @Table(name = "TRVL_AUTH_DOC_T")
31 public class TravelAuthorizationDocument extends TransactionalDocumentBase {
32
33 private String travelDocumentIdentifier;
34 private String tripTypeCode;
35 private Date tripBegin;
36 private Date tripEnd;
37 private String tripDescription;
38 private Boolean primaryDestinationIndicator = false;
39
40 private Integer primaryDestinationId;
41 private String primaryDestinationName;
42 private String primaryDestinationCountryState;
43 private String primaryDestinationCounty;
44
45 private String field59;
46
47 public String getField59() {
48 return field59;
49 }
50
51 public void setField59(String field59) {
52 this.field59 = field59;
53 }
54
55 private PrimaryDestination primaryDestination;
56
57 public TravelAuthorizationDocument() {
58 super();
59 }
60
61 public String getTravelDocumentIdentifier() {
62 return travelDocumentIdentifier;
63 }
64
65 public void setTravelDocumentIdentifier(String travelDocumentIdentifier) {
66 this.travelDocumentIdentifier = travelDocumentIdentifier;
67 }
68
69 public String getTripTypeCode() {
70 return tripTypeCode;
71 }
72
73 public void setTripTypeCode(String tripTypeCode) {
74 this.tripTypeCode = tripTypeCode;
75 }
76
77 public Date getTripBegin() {
78 return tripBegin;
79 }
80
81 public void setTripBegin(Date tripBegin) {
82 this.tripBegin = tripBegin;
83 }
84
85 public Date getTripEnd() {
86 return tripEnd;
87 }
88
89 public void setTripEnd(Date tripEnd) {
90 this.tripEnd = tripEnd;
91 }
92
93 public String getTripDescription() {
94 return tripDescription;
95 }
96
97 public void setTripDescription(String tripDescription) {
98 this.tripDescription = tripDescription;
99 }
100
101 public Integer getPrimaryDestinationId() {
102 return primaryDestinationId;
103 }
104
105 public void setPrimaryDestinationId(Integer primaryDestinationId) {
106 this.primaryDestinationId = primaryDestinationId;
107 }
108
109 public Boolean getPrimaryDestinationIndicator() {
110 return primaryDestinationIndicator;
111 }
112
113 public void setPrimaryDestinationIndicator(Boolean primaryDestinationIndicator) {
114 this.primaryDestinationIndicator = primaryDestinationIndicator;
115 }
116
117 public String getPrimaryDestinationName() {
118 return primaryDestinationName;
119 }
120
121 public void setPrimaryDestinationName(String primaryDestinationName) {
122 this.primaryDestinationName = primaryDestinationName;
123 }
124
125 public String getPrimaryDestinationCountryState() {
126 return primaryDestinationCountryState;
127 }
128
129 public void setPrimaryDestinationCountryState(String primaryDestinationCountryState) {
130 this.primaryDestinationCountryState = primaryDestinationCountryState;
131 }
132
133 public String getPrimaryDestinationCounty() {
134 return primaryDestinationCounty;
135 }
136
137 public void setPrimaryDestinationCounty(String primaryDestinationCounty) {
138 this.primaryDestinationCounty = primaryDestinationCounty;
139 }
140
141 public PrimaryDestination getPrimaryDestination() {
142 return primaryDestination;
143 }
144
145 public void setPrimaryDestination(PrimaryDestination primaryDestination) {
146 this.primaryDestination = primaryDestination;
147 }
148 }