Subversion Repositories SmartDukaan

Rev

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
31860 tejbeer 19
@Table(name = "user.fofo_kyc")
29763 tejbeer 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
 
29884 tejbeer 96
	private String status;
97
 
98
	public String getStatus() {
99
		return status;
100
	}
101
 
102
	public void setStatus(String status) {
103
		this.status = status;
104
	}
105
 
29763 tejbeer 106
	public int getId() {
107
		return id;
108
	}
109
 
110
	public void setId(int id) {
111
		this.id = id;
112
	}
113
 
114
	public String getFirstName() {
115
		return firstName;
116
	}
117
 
118
	public void setFirstName(String firstName) {
119
		this.firstName = firstName;
120
	}
121
 
122
	public String getMiddleName() {
123
		return middleName;
124
	}
125
 
126
	public void setMiddleName(String middleName) {
127
		this.middleName = middleName;
128
	}
129
 
130
	public String getLastName() {
131
		return lastName;
132
	}
133
 
134
	public void setLastName(String lastName) {
135
		this.lastName = lastName;
136
	}
137
 
138
	public String getPan() {
139
		return pan;
140
	}
141
 
142
	public void setPan(String pan) {
143
		this.pan = pan;
144
	}
145
 
146
	public LocalDate getDob() {
147
		return dob;
148
	}
149
 
150
	public void setDob(LocalDate dob) {
151
		this.dob = dob;
152
	}
153
 
154
	public int getPanDoc() {
155
		return panDoc;
156
	}
157
 
158
	public void setPanDoc(int panDoc) {
159
		this.panDoc = panDoc;
160
	}
161
 
162
	public String getEmail() {
163
		return email;
164
	}
165
 
166
	public void setEmail(String email) {
167
		this.email = email;
168
	}
169
 
170
	public String getPoaNo() {
171
		return poaNo;
172
	}
173
 
174
	public void setPoaNo(String poaNo) {
175
		this.poaNo = poaNo;
176
	}
177
 
178
	public int getPoaFront() {
179
		return poaFront;
180
	}
181
 
182
	public void setPoaFront(int poaFront) {
183
		this.poaFront = poaFront;
184
	}
185
 
186
	public int getPoaBack() {
187
		return poaBack;
188
	}
189
 
190
	public void setPoaBack(int poaBack) {
191
		this.poaBack = poaBack;
192
	}
193
 
194
	public String getAddress1() {
195
		return address1;
196
	}
197
 
198
	public void setAddress1(String address1) {
199
		this.address1 = address1;
200
	}
201
 
202
	public String getAddress2() {
203
		return address2;
204
	}
205
 
206
	public void setAddress2(String address2) {
207
		this.address2 = address2;
208
	}
209
 
210
	public String getAddress3() {
211
		return address3;
212
	}
213
 
214
	public void setAddress3(String address3) {
215
		this.address3 = address3;
216
	}
217
 
218
	public String getCity() {
219
		return city;
220
	}
221
 
222
	public void setCity(String city) {
223
		this.city = city;
224
	}
225
 
226
	public String getState() {
227
		return state;
228
	}
229
 
230
	public void setState(String state) {
231
		this.state = state;
232
	}
233
 
234
	public String getPincode() {
235
		return pincode;
236
	}
237
 
238
	public void setPincode(String pincode) {
239
		this.pincode = pincode;
240
	}
241
 
242
	public String getMobile() {
243
		return mobile;
244
	}
245
 
246
	public void setMobile(String mobile) {
247
		this.mobile = mobile;
248
	}
249
 
29774 tejbeer 250
	public String getFatherName() {
251
		return fatherName;
252
	}
253
 
254
	public void setFatherName(String fatherName) {
255
		this.fatherName = fatherName;
256
	}
257
 
258
	public void setGender(Gender gender) {
259
		this.gender = gender;
260
	}
261
 
262
	public Gender getGender() {
263
		return gender;
264
	}
265
 
266
	public AddressProofType getPoaType() {
267
		return poaType;
268
	}
269
 
270
	public MaritalStatus getMaritalStatus() {
271
		return maritalStatus;
272
	}
273
 
274
	public int getOnboardingId() {
275
		return onboardingId;
276
	}
277
 
278
	public void setPoaType(AddressProofType poaType) {
279
		this.poaType = poaType;
280
	}
281
 
282
	public void setMaritalStatus(MaritalStatus maritalStatus) {
283
		this.maritalStatus = maritalStatus;
284
	}
285
 
286
	public void setOnboardingId(int onboardingId) {
287
		this.onboardingId = onboardingId;
288
	}
289
 
29763 tejbeer 290
	@Override
291
	public String toString() {
292
		return "FofoKyc [id=" + id + ", firstName=" + firstName + ", middleName=" + middleName + ", lastName="
29774 tejbeer 293
				+ lastName + ", fatherName=" + fatherName + ", mobile=" + mobile + ", pan=" + pan + ", dob=" + dob
294
				+ ", panDoc=" + panDoc + ", gender=" + gender + ", email=" + email + ", poaNo=" + poaNo + ", poaType="
295
				+ poaType + ", poaFront=" + poaFront + ", poaBack=" + poaBack + ", maritalStatus=" + maritalStatus
296
				+ ", address1=" + address1 + ", address2=" + address2 + ", address3=" + address3 + ", city=" + city
29884 tejbeer 297
				+ ", state=" + state + ", pincode=" + pincode + ", onboardingId=" + onboardingId + ", status=" + status
298
				+ "]";
29763 tejbeer 299
	}
300
 
301
}