| 28126 |
tejbeer |
1 |
package com.spice.profitmandi.dao.hrms;
|
|
|
2 |
|
|
|
3 |
import java.time.LocalDate;
|
|
|
4 |
|
|
|
5 |
import javax.persistence.Column;
|
|
|
6 |
import javax.persistence.Entity;
|
|
|
7 |
import javax.persistence.GeneratedValue;
|
|
|
8 |
import javax.persistence.GenerationType;
|
|
|
9 |
import javax.persistence.Id;
|
|
|
10 |
import javax.persistence.Table;
|
|
|
11 |
@Entity
|
|
|
12 |
@Table(name = "hrms.family_member_details", schema = "hrms")
|
|
|
13 |
public class FamilyMemberDetailsForm {
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
@Id
|
|
|
17 |
@Column
|
|
|
18 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
19 |
private int id;
|
|
|
20 |
@Column(name = "auth_id")
|
|
|
21 |
private int authId;
|
|
|
22 |
@Column(name = "father_name")
|
|
|
23 |
private String fatherName;
|
|
|
24 |
@Column(name = "mother_name")
|
|
|
25 |
private String motherName;
|
|
|
26 |
@Column(name = "brother_first")
|
|
|
27 |
private String brotherFirst;
|
|
|
28 |
@Column(name = "brother_second")
|
|
|
29 |
private String brotherSecond;
|
|
|
30 |
|
|
|
31 |
@Column(name = "date_birth_guider")
|
|
|
32 |
private LocalDate dateOfBirthGuider;
|
|
|
33 |
@Column(name = "husband_name")
|
|
|
34 |
private String husbandName;
|
|
|
35 |
@Column(name = "date_birth_husband")
|
|
|
36 |
private LocalDate dateOfBirthHusband;
|
|
|
37 |
@Column(name = "date_birth_wife")
|
|
|
38 |
private LocalDate dateofBirthWife;
|
|
|
39 |
|
|
|
40 |
@Column(name = "son_name")
|
|
|
41 |
private String sonName;
|
|
|
42 |
@Column(name = "son_birth_date")
|
|
|
43 |
private LocalDate sonDate;
|
|
|
44 |
|
|
|
45 |
@Column(name = "daughter_name")
|
|
|
46 |
private String daughterName;
|
|
|
47 |
|
|
|
48 |
@Column(name = "daughter_dob")
|
|
|
49 |
private LocalDate daughterDOB;
|
|
|
50 |
|
|
|
51 |
@Column(name = "wife_name")
|
|
|
52 |
private String wifeName;
|
|
|
53 |
|
|
|
54 |
public int getId() {
|
|
|
55 |
return id;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public void setId(int id) {
|
|
|
59 |
this.id = id;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
public int getAuthId() {
|
|
|
64 |
return authId;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
public void setAuthId(int authId) {
|
|
|
68 |
this.authId = authId;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
public String getFatherName() {
|
|
|
72 |
return fatherName;
|
|
|
73 |
}
|
|
|
74 |
|
|
|
75 |
public void setFatherName(String fatherName) {
|
|
|
76 |
this.fatherName = fatherName;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
public String getMotherName() {
|
|
|
80 |
return motherName;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
public void setMotherName(String motherName) {
|
|
|
84 |
this.motherName = motherName;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
public String getBrotherFirst() {
|
|
|
88 |
return brotherFirst;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
public void setBrotherFirst(String brotherFirst) {
|
|
|
92 |
this.brotherFirst = brotherFirst;
|
|
|
93 |
}
|
|
|
94 |
|
|
|
95 |
public String getBrotherSecond() {
|
|
|
96 |
return brotherSecond;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
public void setBrotherSecond(String brotherSecond) {
|
|
|
100 |
this.brotherSecond = brotherSecond;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
public LocalDate getDateOfBirthGuider() {
|
|
|
104 |
return dateOfBirthGuider;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
public void setDateOfBirthGuider(LocalDate dateOfBirthGuider) {
|
|
|
108 |
this.dateOfBirthGuider = dateOfBirthGuider;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
public String getHusbandName() {
|
|
|
112 |
return husbandName;
|
|
|
113 |
}
|
|
|
114 |
|
|
|
115 |
public void setHusbandName(String husbandName) {
|
|
|
116 |
this.husbandName = husbandName;
|
|
|
117 |
}
|
|
|
118 |
|
|
|
119 |
public LocalDate getDateOfBirthHusband() {
|
|
|
120 |
return dateOfBirthHusband;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
public void setDateOfBirthHusband(LocalDate dateOfBirthHusband) {
|
|
|
124 |
this.dateOfBirthHusband = dateOfBirthHusband;
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
public LocalDate getDateofBirthWife() {
|
|
|
128 |
return dateofBirthWife;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
public void setDateofBirthWife(LocalDate dateofBirthWife) {
|
|
|
132 |
this.dateofBirthWife = dateofBirthWife;
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
public String getSonName() {
|
|
|
136 |
return sonName;
|
|
|
137 |
}
|
|
|
138 |
|
|
|
139 |
public void setSonName(String sonName) {
|
|
|
140 |
this.sonName = sonName;
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
public LocalDate getSonDate() {
|
|
|
144 |
return sonDate;
|
|
|
145 |
}
|
|
|
146 |
|
|
|
147 |
public void setSonDate(LocalDate sonDate) {
|
|
|
148 |
this.sonDate = sonDate;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
public String getDaughterName() {
|
|
|
152 |
return daughterName;
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
public void setDaughterName(String daughterName) {
|
|
|
156 |
this.daughterName = daughterName;
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
public LocalDate getDaughterDOB() {
|
|
|
160 |
return daughterDOB;
|
|
|
161 |
}
|
|
|
162 |
|
|
|
163 |
public void setDaughterDOB(LocalDate daughterDOB) {
|
|
|
164 |
this.daughterDOB = daughterDOB;
|
|
|
165 |
}
|
|
|
166 |
|
|
|
167 |
public String getWifeName() {
|
|
|
168 |
return wifeName;
|
|
|
169 |
}
|
|
|
170 |
|
|
|
171 |
public void setWifeName(String wifeName) {
|
|
|
172 |
this.wifeName = wifeName;
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
public FamilyMemberDetailsForm() {
|
|
|
176 |
super();
|
|
|
177 |
// TODO Auto-generated constructor stub
|
|
|
178 |
}
|
|
|
179 |
|
|
|
180 |
@Override
|
|
|
181 |
public String toString() {
|
|
|
182 |
return "FamilyMemberDetailsForm [id=" + id + ", authId=" + authId + ", fatherName=" + fatherName
|
|
|
183 |
+ ", motherName=" + motherName + ", brotherFirst=" + brotherFirst + ", brotherSecond=" + brotherSecond
|
|
|
184 |
+ ", dateOfBirthGuider=" + dateOfBirthGuider + ", husbandName=" + husbandName + ", dateOfBirthHusband="
|
|
|
185 |
+ dateOfBirthHusband + ", dateofBirthWife=" + dateofBirthWife + ", sonName=" + sonName + ", sonDate="
|
|
|
186 |
+ sonDate + ", daughterName=" + daughterName + ", daughterDOB=" + daughterDOB + ", wifeName=" + wifeName
|
|
|
187 |
+ "]";
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
}
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|