Subversion Repositories SmartDukaan

Rev

Rev 29763 | Rev 29884 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
29763 tejbeer 1
package com.spice.profitmandi.dao.entity.fofo;
2
 
3
import java.time.LocalDate;
4
 
5
import javax.persistence.Column;
6
import javax.persistence.Entity;
7
import javax.persistence.EnumType;
8
import javax.persistence.Enumerated;
9
import javax.persistence.GeneratedValue;
10
import javax.persistence.GenerationType;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
13
 
14
import com.spice.profitmandi.common.services.mandii.AddressProofType;
15
import com.spice.profitmandi.common.services.mandii.Gender;
16
import com.spice.profitmandi.common.services.mandii.MaritalStatus;
17
 
18
@Entity
19
@Table(name = "user.fofo_kyc", schema = "user")
20
public class FofoKyc {
21
 
22
	@Id
23
	@Column(name = "id")
24
	@GeneratedValue(strategy = GenerationType.IDENTITY)
25
	private int id;
26
 
27
	@Column(name = "first_name")
28
	private String firstName;
29
 
30
	@Column(name = "middle_name")
31
	private String middleName;
32
 
33
	@Column(name = "last_name")
34
	private String lastName;
35
 
29774 tejbeer 36
	@Column(name = "father_name")
37
	private String fatherName;
38
 
29763 tejbeer 39
	@Column(name = "mobile")
40
	private String mobile;
41
 
42
	@Column(name = "pan")
43
	private String pan;
44
 
45
	@Column(name = "dob")
46
	private LocalDate dob;
47
 
48
	@Column(name = "pan_doc")
49
	private int panDoc;
50
 
51
	@Column(name = "gender")
52
	@Enumerated(EnumType.STRING)
53
	private Gender gender;
54
 
55
	@Column(name = "email")
56
	private String email;
57
 
58
	@Column(name = "poa_no")
59
	private String poaNo;
60
 
61
	@Column(name = "poa_type")
62
	@Enumerated(EnumType.STRING)
63
	private AddressProofType poaType;
64
 
65
	@Column(name = "poa_front_doc_path")
66
	private int poaFront;
67
 
68
	@Column(name = "poa_back_doc_path")
69
	private int poaBack;
70
 
71
	@Column(name = "marital_status")
72
	@Enumerated(EnumType.STRING)
73
	private MaritalStatus maritalStatus;
74
 
75
	@Column(name = "address1")
76
	private String address1;
77
 
78
	@Column(name = "address2")
79
	private String address2;
80
 
81
	@Column(name = "address3")
82
	private String address3;
83
 
84
	@Column(name = "city")
85
	private String city;
86
 
87
	@Column(name = "state")
88
	private String state;
89
 
90
	@Column(name = "pincode")
91
	private String pincode;
92
 
93
	@Column(name = "partner_onboarding_id")
94
	private int onboardingId;
95
 
96
	public int getId() {
97
		return id;
98
	}
99
 
100
	public void setId(int id) {
101
		this.id = id;
102
	}
103
 
104
	public String getFirstName() {
105
		return firstName;
106
	}
107
 
108
	public void setFirstName(String firstName) {
109
		this.firstName = firstName;
110
	}
111
 
112
	public String getMiddleName() {
113
		return middleName;
114
	}
115
 
116
	public void setMiddleName(String middleName) {
117
		this.middleName = middleName;
118
	}
119
 
120
	public String getLastName() {
121
		return lastName;
122
	}
123
 
124
	public void setLastName(String lastName) {
125
		this.lastName = lastName;
126
	}
127
 
128
	public String getPan() {
129
		return pan;
130
	}
131
 
132
	public void setPan(String pan) {
133
		this.pan = pan;
134
	}
135
 
136
	public LocalDate getDob() {
137
		return dob;
138
	}
139
 
140
	public void setDob(LocalDate dob) {
141
		this.dob = dob;
142
	}
143
 
144
	public int getPanDoc() {
145
		return panDoc;
146
	}
147
 
148
	public void setPanDoc(int panDoc) {
149
		this.panDoc = panDoc;
150
	}
151
 
152
	public String getEmail() {
153
		return email;
154
	}
155
 
156
	public void setEmail(String email) {
157
		this.email = email;
158
	}
159
 
160
	public String getPoaNo() {
161
		return poaNo;
162
	}
163
 
164
	public void setPoaNo(String poaNo) {
165
		this.poaNo = poaNo;
166
	}
167
 
168
	public int getPoaFront() {
169
		return poaFront;
170
	}
171
 
172
	public void setPoaFront(int poaFront) {
173
		this.poaFront = poaFront;
174
	}
175
 
176
	public int getPoaBack() {
177
		return poaBack;
178
	}
179
 
180
	public void setPoaBack(int poaBack) {
181
		this.poaBack = poaBack;
182
	}
183
 
184
	public String getAddress1() {
185
		return address1;
186
	}
187
 
188
	public void setAddress1(String address1) {
189
		this.address1 = address1;
190
	}
191
 
192
	public String getAddress2() {
193
		return address2;
194
	}
195
 
196
	public void setAddress2(String address2) {
197
		this.address2 = address2;
198
	}
199
 
200
	public String getAddress3() {
201
		return address3;
202
	}
203
 
204
	public void setAddress3(String address3) {
205
		this.address3 = address3;
206
	}
207
 
208
	public String getCity() {
209
		return city;
210
	}
211
 
212
	public void setCity(String city) {
213
		this.city = city;
214
	}
215
 
216
	public String getState() {
217
		return state;
218
	}
219
 
220
	public void setState(String state) {
221
		this.state = state;
222
	}
223
 
224
	public String getPincode() {
225
		return pincode;
226
	}
227
 
228
	public void setPincode(String pincode) {
229
		this.pincode = pincode;
230
	}
231
 
232
	public String getMobile() {
233
		return mobile;
234
	}
235
 
236
	public void setMobile(String mobile) {
237
		this.mobile = mobile;
238
	}
239
 
29774 tejbeer 240
	public String getFatherName() {
241
		return fatherName;
242
	}
243
 
244
	public void setFatherName(String fatherName) {
245
		this.fatherName = fatherName;
246
	}
247
 
248
	public void setGender(Gender gender) {
249
		this.gender = gender;
250
	}
251
 
252
	public Gender getGender() {
253
		return gender;
254
	}
255
 
256
	public AddressProofType getPoaType() {
257
		return poaType;
258
	}
259
 
260
	public MaritalStatus getMaritalStatus() {
261
		return maritalStatus;
262
	}
263
 
264
	public int getOnboardingId() {
265
		return onboardingId;
266
	}
267
 
268
	public void setPoaType(AddressProofType poaType) {
269
		this.poaType = poaType;
270
	}
271
 
272
	public void setMaritalStatus(MaritalStatus maritalStatus) {
273
		this.maritalStatus = maritalStatus;
274
	}
275
 
276
	public void setOnboardingId(int onboardingId) {
277
		this.onboardingId = onboardingId;
278
	}
279
 
29763 tejbeer 280
	@Override
281
	public String toString() {
282
		return "FofoKyc [id=" + id + ", firstName=" + firstName + ", middleName=" + middleName + ", lastName="
29774 tejbeer 283
				+ lastName + ", fatherName=" + fatherName + ", mobile=" + mobile + ", pan=" + pan + ", dob=" + dob
284
				+ ", panDoc=" + panDoc + ", gender=" + gender + ", email=" + email + ", poaNo=" + poaNo + ", poaType="
285
				+ poaType + ", poaFront=" + poaFront + ", poaBack=" + poaBack + ", maritalStatus=" + maritalStatus
286
				+ ", address1=" + address1 + ", address2=" + address2 + ", address3=" + address3 + ", city=" + city
287
				+ ", state=" + state + ", pincode=" + pincode + ", onboardingId=" + onboardingId + "]";
29763 tejbeer 288
	}
289
 
290
}