Subversion Repositories SmartDukaan

Rev

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