1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.ui;
17
18 import javax.persistence.Column;
19 import javax.persistence.Entity;
20 import javax.persistence.GeneratedValue;
21 import javax.persistence.Id;
22 import javax.persistence.IdClass;
23 import javax.persistence.Table;
24 import java.sql.Date;
25
26
27
28
29
30
31
32 @IdClass(PersonDocumentCitizenshipId.class)
33 @Entity
34 @Table(name = "KRIM_PND_CTZNSHP_MT")
35 public class PersonDocumentCitizenship extends KimDocumentBoActivatableEditableBase {
36 @Id
37 @GeneratedValue(generator="KRIM_ENTITY_CTZNSHP_ID_S")
38 @Column(name = "ENTITY_CTZNSHP_ID")
39 protected String entityCitizenshipId;
40
41 @Column(name = "ENTITY_ID")
42 protected String entityId;
43
44 @Column(name = "POSTAL_CNTRY_CD")
45 protected String countryCode;
46
47 @Column(name = "CTZNSHP_STAT_CD")
48 protected String citizenshipStatusCode;
49
50 @Column(name = "strt_dt")
51 protected Date startDate;
52
53 @Column(name = "end_dt")
54 protected Date endDate;
55
56
57
58
59
60 public String getCitizenshipStatusCode() {
61 return citizenshipStatusCode;
62 }
63
64
65
66
67 public Date getEndDate() {
68 return endDate;
69 }
70
71
72
73
74 public String getEntityCitizenshipId() {
75 return entityCitizenshipId;
76 }
77
78
79
80
81 public Date getStartDate() {
82 return startDate;
83 }
84
85
86
87
88 public void setCitizenshipStatusCode(String citizenshipStatusCode) {
89 this.citizenshipStatusCode = citizenshipStatusCode;
90 }
91
92
93
94
95 public void setEndDate(Date endDate) {
96 this.endDate = endDate;
97 }
98
99
100
101
102 public void setStartDate(Date startDate) {
103 this.startDate = startDate;
104 }
105
106
107 public String getEntityId() {
108 return this.entityId;
109 }
110
111 public void setEntityId(String entityId) {
112 this.entityId = entityId;
113 }
114
115 public String getCountryCode() {
116 return this.countryCode;
117 }
118
119 public void setCountryCode(String countryCode) {
120 this.countryCode = countryCode;
121 }
122
123 public void setEntityCitizenshipId(String entityCitizenshipId) {
124 this.entityCitizenshipId = entityCitizenshipId;
125 }
126 }