Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33507 tejus.loha 1
package com.spice.profitmandi.dao.entity.onBoarding;
2
 
3
import com.spice.profitmandi.common.enumuration.BusinessType;
4
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.LoiStatus;
5
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.StoreType;
6
 
7
import javax.persistence.*;
8
import java.time.LocalDate;
9
import java.time.LocalDateTime;
10
import java.util.Objects;
11
 
12
@Entity
13
@Table(name = "fofo.loi_form")
14
public class LoiForm {
15
    @Id
16
    @GeneratedValue(strategy = GenerationType.IDENTITY)
17
    @Column(name = "id")
18
    private int id;
19
    @Column(name = "referId")
20
    private int referId;
21
    @Column(name = "referBy")
22
    private String referBy;
33577 tejus.loha 23
    @Column(name = "filledBy")
24
    private String filledBy;
33507 tejus.loha 25
    @Column(name = "businessType")
26
    @Enumerated(EnumType.STRING)
27
    private BusinessType businessType;
28
    @Column(name = "acquiredDate")
29
    private LocalDateTime acquiredDate;
30
    @Column(name = "firstName")
31
    private String firstName;
32
    @Column(name = "lastName")
33
    private String lastName;
34
    @Transient
35
    private String fullName;
36
    @Column(name = "mobile")
37
    private long mobile;
38
    @Column(name = "landline")
39
    private long landline;
40
    @Column(name = "email")
41
    private String email;
42
    @Column(name = "dob")
43
    private LocalDate dob;
44
    @Column(name = "anniversaryDate")
45
    private LocalDate anniversaryDate;
46
    @Column(name = "panNo")
47
    private String panNo;
48
    @Column(name = "adharNo")
49
    private long adharNo;
50
    @Column(name = "gstNo")
51
    private String gstNo;
52
    @Column(name = "companyName")
53
    private String companyName;
54
    @Column(name = "gstPin")
55
    private int gstPin;
56
    @Column(name = "gstState")
57
    private String gstState;
58
    @Column(name = "gstDistrict")
59
    private String gstDistrict;
60
    @Column(name = "gstCity")
61
    private String gstCity;
62
    @Column(name = "bankName")
63
    private String bankName;
64
    @Column(name = "ifscCode")
65
    private String ifscCode;
66
    @Column(name = "accountNo")
67
    private long accountNo;
68
    @Column(name = "AWValue")
69
    private int agreeWalletValue;
70
    @Column(name = "storeArea")
71
    private double storeArea;
72
    @Column(name = "storePotential")
73
    private double storePotential;
74
    @Column(name = "agreedBrandFees")
75
    private double agreedBrandFees;
76
    @Column(name = "brandType")
77
    @Enumerated(EnumType.STRING)
78
    private StoreType brandType;
79
    @Column(name = "brandFeeId")
80
    private int brandFeeId;
81
    @Column(name = "status")
82
    @Enumerated(EnumType.STRING)
83
    private LoiStatus Status;
84
    @Column(name = "loiSignedOn")
85
    private LocalDateTime loiSignedOn;
86
    @Column(name = "loiSignOtp")
87
    private String loiSignOtp;
88
    @Column(name = "loiGeneratedOn")
89
    private LocalDateTime loiGeneratedOn;
90
    @Column(name = "loiGeneratedBy")
91
    private int loiGeneratedBy;
92
    @Column(name = "loiDoc")
93
    private int loiDoc;
94
    @Column(name = "lessCommitReason")
95
    private String lessCommitReason;
33710 tejus.loha 96
    @Column(name = "onBoarding_id")
97
    private int onBoardingId;
33507 tejus.loha 98
 
33710 tejus.loha 99
    public int getOnBoardingId() {
100
        return onBoardingId;
101
    }
33658 tejus.loha 102
 
33710 tejus.loha 103
    public void setOnBoardingId(int onBoardingId) {
104
        this.onBoardingId = onBoardingId;
105
    }
106
 
33507 tejus.loha 107
    public int getBrandFeeId() {
108
        return brandFeeId;
109
    }
110
 
111
    public void setBrandFeeId(int brandFeeId) {
112
        this.brandFeeId = brandFeeId;
113
    }
114
 
115
    public String getLessCommitReason() {
116
        return lessCommitReason;
117
    }
118
 
119
    public void setLessCommitReason(String lessCommitReason) {
120
        this.lessCommitReason = lessCommitReason;
121
    }
122
 
123
 
124
    public int getId() {
125
        return id;
126
    }
127
 
128
    public void setId(int id) {
129
        this.id = id;
130
    }
131
 
132
    public int getReferId() {
133
        return referId;
134
    }
135
 
136
    public void setReferId(int referId) {
137
        this.referId = referId;
138
    }
139
 
140
    public String getReferBy() {
141
        return referBy;
142
    }
143
 
144
    public void setReferBy(String referBy) {
145
        this.referBy = referBy;
146
    }
147
 
33577 tejus.loha 148
    public String getFilledBy() {
149
        return filledBy;
150
    }
151
 
152
    public void setFilledBy(String filledBy) {
153
        this.filledBy = filledBy;
154
    }
155
 
33507 tejus.loha 156
    public BusinessType getBusinessType() {
157
        return businessType;
158
    }
159
 
160
    public void setBusinessType(BusinessType businessType) {
161
        this.businessType = businessType;
162
    }
163
 
164
    public LocalDateTime getAcquiredDate() {
165
        return acquiredDate;
166
    }
167
 
168
    public void setAcquiredDate(LocalDateTime acquiredDate) {
169
        this.acquiredDate = acquiredDate;
170
    }
171
 
172
    public String getFirstName() {
173
        return firstName;
174
    }
175
 
176
    public void setFirstName(String firstName) {
177
        this.firstName = firstName;
178
    }
179
 
180
    public long getMobile() {
181
        return mobile;
182
    }
183
 
184
    public void setMobile(long mobile) {
185
        this.mobile = mobile;
186
    }
187
 
188
    public String getFullName() {
189
        return firstName + " " + lastName;
190
    }
191
 
192
    public void setFullName(String fullName) {
193
        this.fullName = fullName;
194
    }
195
 
196
    public int getAgreeWalletValue() {
197
        return agreeWalletValue;
198
    }
199
 
200
    public void setAgreeWalletValue(int agreeWalletValue) {
201
        this.agreeWalletValue = agreeWalletValue;
202
    }
203
 
204
    public LocalDate getDob() {
205
        return dob;
206
    }
207
 
208
    public void setDob(LocalDate dob) {
209
        this.dob = dob;
210
    }
211
 
212
    public long getLandline() {
213
        return landline;
214
    }
215
 
216
    public void setLandline(long landline) {
217
        this.landline = landline;
218
    }
219
 
220
    public String getEmail() {
221
        return email;
222
    }
223
 
224
    public void setEmail(String email) {
225
        this.email = email;
226
    }
227
 
228
    public LocalDate getAnniversaryDate() {
229
        return anniversaryDate;
230
    }
231
 
232
    public void setAnniversaryDate(LocalDate anniversaryDate) {
233
        this.anniversaryDate = anniversaryDate;
234
    }
235
 
236
    public String getPanNo() {
237
        return panNo;
238
    }
239
 
240
    public void setPanNo(String panNo) {
241
        this.panNo = panNo;
242
    }
243
 
244
    public long getAdharNo() {
245
        return adharNo;
246
    }
247
 
248
    public void setAdharNo(long adharNo) {
249
        this.adharNo = adharNo;
250
    }
251
 
252
    public String getGstNo() {
253
        return gstNo;
254
    }
255
 
256
    public void setGstNo(String gstNo) {
257
        this.gstNo = gstNo;
258
    }
259
 
260
    public String getCompanyName() {
261
        return companyName;
262
    }
263
 
264
    public void setCompanyName(String companyName) {
265
        this.companyName = companyName;
266
    }
267
 
268
    public String getGstState() {
269
        return gstState;
270
    }
271
 
272
    public void setGstState(String gstState) {
273
        this.gstState = gstState;
274
    }
275
 
276
    public String getGstDistrict() {
277
        return gstDistrict;
278
    }
279
 
280
    public void setGstDistrict(String gstDistrict) {
281
        this.gstDistrict = gstDistrict;
282
    }
283
 
284
    public String getGstCity() {
285
        return gstCity;
286
    }
287
 
288
    public void setGstCity(String gstCity) {
289
        this.gstCity = gstCity;
290
    }
291
 
292
    public String getLastName() {
293
        return lastName;
294
    }
295
 
296
    public void setLastName(String lastName) {
297
        this.lastName = lastName;
298
    }
299
 
300
    public int getGstPin() {
301
        return gstPin;
302
    }
303
 
304
    public void setGstPin(int gstPin) {
305
        this.gstPin = gstPin;
306
    }
307
 
308
    public String getBankName() {
309
        return bankName;
310
    }
311
 
312
    public void setBankName(String bankName) {
313
        this.bankName = bankName;
314
    }
315
 
316
    public String getIfscCode() {
317
        return ifscCode;
318
    }
319
 
320
    public void setIfscCode(String ifscCode) {
321
        this.ifscCode = ifscCode;
322
    }
323
 
324
    public long getAccountNo() {
325
        return accountNo;
326
    }
327
 
328
    public void setAccountNo(long accountNo) {
329
        this.accountNo = accountNo;
330
    }
331
 
332
    public double getStoreArea() {
333
        return storeArea;
334
    }
335
 
336
    public void setStoreArea(double storeArea) {
337
        this.storeArea = storeArea;
338
    }
339
 
340
    public double getStorePotential() {
341
        return storePotential;
342
    }
343
 
344
    public void setStorePotential(double storePotential) {
345
        this.storePotential = storePotential;
346
    }
347
 
348
 
349
    public StoreType getBrandType() {
350
        return brandType;
351
    }
352
 
353
    public void setBrandType(StoreType brandType) {
354
        this.brandType = brandType;
355
    }
356
 
357
    public double getAgreedBrandFees() {
358
        return agreedBrandFees;
359
    }
360
 
361
    public void setAgreedBrandFees(double agreedBrandFees) {
362
        this.agreedBrandFees = agreedBrandFees;
363
    }
364
 
365
    public LoiStatus getStatus() {
366
        return Status;
367
    }
368
 
369
    public void setStatus(LoiStatus status) {
370
        this.Status = status;
371
    }
372
 
373
    public LocalDateTime getLoiSignedOn() {
374
        return loiSignedOn;
375
    }
376
 
377
    public void setLoiSignedOn(LocalDateTime loiSignedOn) {
378
        this.loiSignedOn = loiSignedOn;
379
    }
380
 
381
    public LocalDateTime getLoiGeneratedOn() {
382
        return loiGeneratedOn;
383
    }
384
 
385
    public void setLoiGeneratedOn(LocalDateTime loiGeneratedOn) {
386
        this.loiGeneratedOn = loiGeneratedOn;
387
    }
388
 
389
    public String getLoiSignOtp() {
390
        return loiSignOtp;
391
    }
392
 
393
    public void setLoiSignOtp(String loiSignOtp) {
394
        this.loiSignOtp = loiSignOtp;
395
    }
396
 
397
    public void setLoiGeneratedBy(int loiGeneratedBy) {
398
        this.loiGeneratedBy = loiGeneratedBy;
399
    }
400
 
401
    public int getLoiDoc() {
402
        return loiDoc;
403
    }
404
 
405
    public void setLoiDoc(int loiDoc) {
406
        this.loiDoc = loiDoc;
407
    }
408
 
409
    @Override
410
    public boolean equals(Object o) {
411
        if (this == o) return true;
412
        if (o == null || getClass() != o.getClass()) return false;
413
        LoiForm that = (LoiForm) o;
414
        return referId == that.referId;
415
    }
416
 
417
    @Override
418
    public int hashCode() {
419
        return Objects.hash(referId);
420
    }
421
 
422
    @Override
423
    public String toString() {
424
        return "LoiForm{" +
425
                "id=" + id +
426
                ", referId=" + referId +
427
                ", referBy='" + referBy + '\'' +
33658 tejus.loha 428
                ", filledBy='" + filledBy + '\'' +
33507 tejus.loha 429
                ", businessType=" + businessType +
430
                ", acquiredDate=" + acquiredDate +
431
                ", firstName='" + firstName + '\'' +
432
                ", lastName='" + lastName + '\'' +
433
                ", fullName='" + fullName + '\'' +
434
                ", mobile=" + mobile +
435
                ", landline=" + landline +
436
                ", email='" + email + '\'' +
437
                ", dob=" + dob +
438
                ", anniversaryDate=" + anniversaryDate +
439
                ", panNo='" + panNo + '\'' +
440
                ", adharNo=" + adharNo +
441
                ", gstNo='" + gstNo + '\'' +
442
                ", companyName='" + companyName + '\'' +
443
                ", gstPin=" + gstPin +
444
                ", gstState='" + gstState + '\'' +
445
                ", gstDistrict='" + gstDistrict + '\'' +
446
                ", gstCity='" + gstCity + '\'' +
447
                ", bankName='" + bankName + '\'' +
448
                ", ifscCode='" + ifscCode + '\'' +
449
                ", accountNo=" + accountNo +
450
                ", agreeWalletValue=" + agreeWalletValue +
451
                ", storeArea=" + storeArea +
452
                ", storePotential=" + storePotential +
453
                ", agreedBrandFees=" + agreedBrandFees +
454
                ", brandType=" + brandType +
455
                ", brandFeeId=" + brandFeeId +
456
                ", Status=" + Status +
457
                ", loiSignedOn=" + loiSignedOn +
458
                ", loiSignOtp='" + loiSignOtp + '\'' +
459
                ", loiGeneratedOn=" + loiGeneratedOn +
460
                ", loiGeneratedBy=" + loiGeneratedBy +
461
                ", loiDoc=" + loiDoc +
462
                ", lessCommitReason='" + lessCommitReason + '\'' +
463
                '}';
464
    }
465
}