Subversion Repositories SmartDukaan

Rev

Rev 33578 | Rev 33710 | 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;
96
 
33658 tejus.loha 97
 
33507 tejus.loha 98
    public int getBrandFeeId() {
99
        return brandFeeId;
100
    }
101
 
102
    public void setBrandFeeId(int brandFeeId) {
103
        this.brandFeeId = brandFeeId;
104
    }
105
 
106
    public String getLessCommitReason() {
107
        return lessCommitReason;
108
    }
109
 
110
    public void setLessCommitReason(String lessCommitReason) {
111
        this.lessCommitReason = lessCommitReason;
112
    }
113
 
114
 
115
    public int getId() {
116
        return id;
117
    }
118
 
119
    public void setId(int id) {
120
        this.id = id;
121
    }
122
 
123
    public int getReferId() {
124
        return referId;
125
    }
126
 
127
    public void setReferId(int referId) {
128
        this.referId = referId;
129
    }
130
 
131
    public String getReferBy() {
132
        return referBy;
133
    }
134
 
135
    public void setReferBy(String referBy) {
136
        this.referBy = referBy;
137
    }
138
 
33577 tejus.loha 139
    public String getFilledBy() {
140
        return filledBy;
141
    }
142
 
143
    public void setFilledBy(String filledBy) {
144
        this.filledBy = filledBy;
145
    }
146
 
33507 tejus.loha 147
    public BusinessType getBusinessType() {
148
        return businessType;
149
    }
150
 
151
    public void setBusinessType(BusinessType businessType) {
152
        this.businessType = businessType;
153
    }
154
 
155
    public LocalDateTime getAcquiredDate() {
156
        return acquiredDate;
157
    }
158
 
159
    public void setAcquiredDate(LocalDateTime acquiredDate) {
160
        this.acquiredDate = acquiredDate;
161
    }
162
 
163
    public String getFirstName() {
164
        return firstName;
165
    }
166
 
167
    public void setFirstName(String firstName) {
168
        this.firstName = firstName;
169
    }
170
 
171
    public long getMobile() {
172
        return mobile;
173
    }
174
 
175
    public void setMobile(long mobile) {
176
        this.mobile = mobile;
177
    }
178
 
179
    public String getFullName() {
180
        return firstName + " " + lastName;
181
    }
182
 
183
    public void setFullName(String fullName) {
184
        this.fullName = fullName;
185
    }
186
 
187
    public int getAgreeWalletValue() {
188
        return agreeWalletValue;
189
    }
190
 
191
    public void setAgreeWalletValue(int agreeWalletValue) {
192
        this.agreeWalletValue = agreeWalletValue;
193
    }
194
 
195
    public LocalDate getDob() {
196
        return dob;
197
    }
198
 
199
    public void setDob(LocalDate dob) {
200
        this.dob = dob;
201
    }
202
 
203
    public long getLandline() {
204
        return landline;
205
    }
206
 
207
    public void setLandline(long landline) {
208
        this.landline = landline;
209
    }
210
 
211
    public String getEmail() {
212
        return email;
213
    }
214
 
215
    public void setEmail(String email) {
216
        this.email = email;
217
    }
218
 
219
    public LocalDate getAnniversaryDate() {
220
        return anniversaryDate;
221
    }
222
 
223
    public void setAnniversaryDate(LocalDate anniversaryDate) {
224
        this.anniversaryDate = anniversaryDate;
225
    }
226
 
227
    public String getPanNo() {
228
        return panNo;
229
    }
230
 
231
    public void setPanNo(String panNo) {
232
        this.panNo = panNo;
233
    }
234
 
235
    public long getAdharNo() {
236
        return adharNo;
237
    }
238
 
239
    public void setAdharNo(long adharNo) {
240
        this.adharNo = adharNo;
241
    }
242
 
243
    public String getGstNo() {
244
        return gstNo;
245
    }
246
 
247
    public void setGstNo(String gstNo) {
248
        this.gstNo = gstNo;
249
    }
250
 
251
    public String getCompanyName() {
252
        return companyName;
253
    }
254
 
255
    public void setCompanyName(String companyName) {
256
        this.companyName = companyName;
257
    }
258
 
259
    public String getGstState() {
260
        return gstState;
261
    }
262
 
263
    public void setGstState(String gstState) {
264
        this.gstState = gstState;
265
    }
266
 
267
    public String getGstDistrict() {
268
        return gstDistrict;
269
    }
270
 
271
    public void setGstDistrict(String gstDistrict) {
272
        this.gstDistrict = gstDistrict;
273
    }
274
 
275
    public String getGstCity() {
276
        return gstCity;
277
    }
278
 
279
    public void setGstCity(String gstCity) {
280
        this.gstCity = gstCity;
281
    }
282
 
283
    public String getLastName() {
284
        return lastName;
285
    }
286
 
287
    public void setLastName(String lastName) {
288
        this.lastName = lastName;
289
    }
290
 
291
    public int getGstPin() {
292
        return gstPin;
293
    }
294
 
295
    public void setGstPin(int gstPin) {
296
        this.gstPin = gstPin;
297
    }
298
 
299
    public String getBankName() {
300
        return bankName;
301
    }
302
 
303
    public void setBankName(String bankName) {
304
        this.bankName = bankName;
305
    }
306
 
307
    public String getIfscCode() {
308
        return ifscCode;
309
    }
310
 
311
    public void setIfscCode(String ifscCode) {
312
        this.ifscCode = ifscCode;
313
    }
314
 
315
    public long getAccountNo() {
316
        return accountNo;
317
    }
318
 
319
    public void setAccountNo(long accountNo) {
320
        this.accountNo = accountNo;
321
    }
322
 
323
    public double getStoreArea() {
324
        return storeArea;
325
    }
326
 
327
    public void setStoreArea(double storeArea) {
328
        this.storeArea = storeArea;
329
    }
330
 
331
    public double getStorePotential() {
332
        return storePotential;
333
    }
334
 
335
    public void setStorePotential(double storePotential) {
336
        this.storePotential = storePotential;
337
    }
338
 
339
 
340
 
341
    public StoreType getBrandType() {
342
        return brandType;
343
    }
344
 
345
    public void setBrandType(StoreType brandType) {
346
        this.brandType = brandType;
347
    }
348
 
349
    public double getAgreedBrandFees() {
350
        return agreedBrandFees;
351
    }
352
 
353
    public void setAgreedBrandFees(double agreedBrandFees) {
354
        this.agreedBrandFees = agreedBrandFees;
355
    }
356
 
357
    public LoiStatus getStatus() {
358
        return Status;
359
    }
360
 
361
    public void setStatus(LoiStatus status) {
362
        this.Status = status;
363
    }
364
 
365
    public LocalDateTime getLoiSignedOn() {
366
        return loiSignedOn;
367
    }
368
 
369
    public void setLoiSignedOn(LocalDateTime loiSignedOn) {
370
        this.loiSignedOn = loiSignedOn;
371
    }
372
 
373
    public LocalDateTime getLoiGeneratedOn() {
374
        return loiGeneratedOn;
375
    }
376
 
377
    public void setLoiGeneratedOn(LocalDateTime loiGeneratedOn) {
378
        this.loiGeneratedOn = loiGeneratedOn;
379
    }
380
 
381
    public String getLoiSignOtp() {
382
        return loiSignOtp;
383
    }
384
 
385
    public void setLoiSignOtp(String loiSignOtp) {
386
        this.loiSignOtp = loiSignOtp;
387
    }
388
 
389
    public void setLoiGeneratedBy(int loiGeneratedBy) {
390
        this.loiGeneratedBy = loiGeneratedBy;
391
    }
392
 
393
    public int getLoiDoc() {
394
        return loiDoc;
395
    }
396
 
397
    public void setLoiDoc(int loiDoc) {
398
        this.loiDoc = loiDoc;
399
    }
400
 
401
    @Override
402
    public boolean equals(Object o) {
403
        if (this == o) return true;
404
        if (o == null || getClass() != o.getClass()) return false;
405
        LoiForm that = (LoiForm) o;
406
        return referId == that.referId;
407
    }
408
 
409
    @Override
410
    public int hashCode() {
411
        return Objects.hash(referId);
412
    }
413
 
414
    @Override
415
    public String toString() {
416
        return "LoiForm{" +
417
                "id=" + id +
418
                ", referId=" + referId +
419
                ", referBy='" + referBy + '\'' +
33658 tejus.loha 420
                ", filledBy='" + filledBy + '\'' +
33507 tejus.loha 421
                ", businessType=" + businessType +
422
                ", acquiredDate=" + acquiredDate +
423
                ", firstName='" + firstName + '\'' +
424
                ", lastName='" + lastName + '\'' +
425
                ", fullName='" + fullName + '\'' +
426
                ", mobile=" + mobile +
427
                ", landline=" + landline +
428
                ", email='" + email + '\'' +
429
                ", dob=" + dob +
430
                ", anniversaryDate=" + anniversaryDate +
431
                ", panNo='" + panNo + '\'' +
432
                ", adharNo=" + adharNo +
433
                ", gstNo='" + gstNo + '\'' +
434
                ", companyName='" + companyName + '\'' +
435
                ", gstPin=" + gstPin +
436
                ", gstState='" + gstState + '\'' +
437
                ", gstDistrict='" + gstDistrict + '\'' +
438
                ", gstCity='" + gstCity + '\'' +
439
                ", bankName='" + bankName + '\'' +
440
                ", ifscCode='" + ifscCode + '\'' +
441
                ", accountNo=" + accountNo +
442
                ", agreeWalletValue=" + agreeWalletValue +
443
                ", storeArea=" + storeArea +
444
                ", storePotential=" + storePotential +
445
                ", agreedBrandFees=" + agreedBrandFees +
446
                ", brandType=" + brandType +
447
                ", brandFeeId=" + brandFeeId +
448
                ", Status=" + Status +
449
                ", loiSignedOn=" + loiSignedOn +
450
                ", loiSignOtp='" + loiSignOtp + '\'' +
451
                ", loiGeneratedOn=" + loiGeneratedOn +
452
                ", loiGeneratedBy=" + loiGeneratedBy +
453
                ", loiDoc=" + loiDoc +
454
                ", lessCommitReason='" + lessCommitReason + '\'' +
455
                '}';
456
    }
457
}