Subversion Repositories SmartDukaan

Rev

Rev 35971 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35971 Rev 37523
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.onBoarding;
1
package com.spice.profitmandi.dao.entity.onBoarding;
2
 
2
 
3
import com.spice.profitmandi.common.enumuration.BusinessType;
3
import com.spice.profitmandi.common.enumuration.BusinessType;
-
 
4
import com.spice.profitmandi.dao.enumuration.onBorading.OnboardingType;
4
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.LoiStatus;
5
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.LoiStatus;
5
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.StoreType;
6
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.StoreType;
6
 
7
 
7
import javax.persistence.*;
8
import javax.persistence.*;
8
import java.time.LocalDate;
9
import java.time.LocalDate;
Line 101... Line 102...
101
    private boolean loiApproved;
102
    private boolean loiApproved;
102
    @Column(name = "state_head")
103
    @Column(name = "state_head")
103
    private int stateHead;
104
    private int stateHead;
104
    @Column(name = "bdm")
105
    @Column(name = "bdm")
105
    private int bdm;
106
    private int bdm;
-
 
107
    @Column(name = "onboarding_type")
-
 
108
    @Enumerated(EnumType.STRING)
-
 
109
    private OnboardingType onboardingType = OnboardingType.NEW;
-
 
110
    @Column(name = "old_store_code")
-
 
111
    private String oldStoreCode;
-
 
112
    @Column(name = "revival_reason")
-
 
113
    private String revivalReason;
106
 
114
 
107
    public boolean isLoiApproved() {
115
    public boolean isLoiApproved() {
108
        return loiApproved;
116
        return loiApproved;
109
    }
117
    }
110
 
118
 
Line 446... Line 454...
446
    }
454
    }
447
    public void setBdm(int bdm) {
455
    public void setBdm(int bdm) {
448
        this.bdm = bdm;
456
        this.bdm = bdm;
449
    }
457
    }
450
 
458
 
-
 
459
    public OnboardingType getOnboardingType() {
-
 
460
        return onboardingType;
-
 
461
    }
-
 
462
 
-
 
463
    public void setOnboardingType(OnboardingType onboardingType) {
-
 
464
        this.onboardingType = onboardingType;
-
 
465
    }
-
 
466
 
-
 
467
    public String getOldStoreCode() {
-
 
468
        return oldStoreCode;
-
 
469
    }
-
 
470
 
-
 
471
    public void setOldStoreCode(String oldStoreCode) {
-
 
472
        this.oldStoreCode = oldStoreCode;
-
 
473
    }
-
 
474
 
-
 
475
    public String getRevivalReason() {
-
 
476
        return revivalReason;
-
 
477
    }
-
 
478
 
-
 
479
    public void setRevivalReason(String revivalReason) {
-
 
480
        this.revivalReason = revivalReason;
-
 
481
    }
-
 
482
 
451
    @Override
483
    @Override
452
    public boolean equals(Object o) {
484
    public boolean equals(Object o) {
453
        if (this == o) return true;
485
        if (this == o) return true;
454
        if (o == null || getClass() != o.getClass()) return false;
486
        if (o == null || getClass() != o.getClass()) return false;
455
        LoiForm that = (LoiForm) o;
487
        LoiForm that = (LoiForm) o;