Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
34641 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.Objects;
4
 
5
public class FofoInvestmentModel {
6
    float counterPotential;
7
    float shortInvestment;
8
    float defaultLoan;
9
    float investmentLevel;
10
    float activeLoan;
11
    float poValue;
12
    float agreedInvestment;
13
    float wallet;
14
    float poAndBilled;
15
    double monthBeginingDrr;
16
    double requiredDrr;
17
    double drrPercent;
18
    int lastBillingDone;
19
    String slab;
20
 
21
    public float getCounterPotential() {
22
        return counterPotential;
23
    }
24
 
25
    public void setCounterPotential(float counterPotential) {
26
        this.counterPotential = counterPotential;
27
    }
28
 
29
    public float getShortInvestment() {
30
        return shortInvestment;
31
    }
32
 
33
    public void setShortInvestment(float shortInvestment) {
34
        this.shortInvestment = shortInvestment;
35
    }
36
 
37
    public float getDefaultLoan() {
38
        return defaultLoan;
39
    }
40
 
41
    public void setDefaultLoan(float defaultLoan) {
42
        this.defaultLoan = defaultLoan;
43
    }
44
 
45
    public float getInvestmentLevel() {
46
        return investmentLevel;
47
    }
48
 
49
    public void setInvestmentLevel(float investmentLevel) {
50
        this.investmentLevel = investmentLevel;
51
    }
52
 
53
    public float getActiveLoan() {
54
        return activeLoan;
55
    }
56
 
57
    public void setActiveLoan(float activeLoan) {
58
        this.activeLoan = activeLoan;
59
    }
60
 
61
    public float getPoValue() {
62
        return poValue;
63
    }
64
 
65
    public void setPoValue(float poValue) {
66
        this.poValue = poValue;
67
    }
68
 
69
    public float getAgreedInvestment() {
70
        return agreedInvestment;
71
    }
72
 
73
    public void setAgreedInvestment(float agreedInvestment) {
74
        this.agreedInvestment = agreedInvestment;
75
    }
76
 
77
    public float getWallet() {
78
        return wallet;
79
    }
80
 
81
    public void setWallet(float wallet) {
82
        this.wallet = wallet;
83
    }
84
 
85
    public float getPoAndBilled() {
86
        return poAndBilled;
87
    }
88
 
89
    public void setPoAndBilled(float poAndBilled) {
90
        this.poAndBilled = poAndBilled;
91
    }
92
 
93
    public double getMonthBeginingDrr() {
94
        return monthBeginingDrr;
95
    }
96
 
97
    public void setMonthBeginingDrr(double monthBeginingDrr) {
98
        this.monthBeginingDrr = monthBeginingDrr;
99
    }
100
 
101
    public double getRequiredDrr() {
102
        return requiredDrr;
103
    }
104
 
105
    public void setRequiredDrr(double requiredDrr) {
106
        this.requiredDrr = requiredDrr;
107
    }
108
 
109
    public double getDrrPercent() {
110
        return drrPercent;
111
    }
112
 
113
    public void setDrrPercent(double drrPercent) {
114
        this.drrPercent = drrPercent;
115
    }
116
 
117
    public int getLastBillingDone() {
118
        return lastBillingDone;
119
    }
120
 
121
    public void setLastBillingDone(int lastBillingDone) {
122
        this.lastBillingDone = lastBillingDone;
123
    }
124
 
125
    public String getSlab() {
126
        return slab;
127
    }
128
 
129
    public void setSlab(String slab) {
130
        this.slab = slab;
131
    }
132
 
133
    @Override
134
    public boolean equals(Object o) {
135
        if (this == o) return true;
136
        if (o == null || getClass() != o.getClass()) return false;
137
        FofoInvestmentModel that = (FofoInvestmentModel) o;
138
        return Float.compare(counterPotential, that.counterPotential) == 0 && Float.compare(shortInvestment, that.shortInvestment) == 0 && Float.compare(defaultLoan, that.defaultLoan) == 0 && Float.compare(investmentLevel, that.investmentLevel) == 0 && Float.compare(activeLoan, that.activeLoan) == 0 && Float.compare(poValue, that.poValue) == 0 && Float.compare(agreedInvestment, that.agreedInvestment) == 0 && Float.compare(wallet, that.wallet) == 0 && Float.compare(poAndBilled, that.poAndBilled) == 0 && Double.compare(monthBeginingDrr, that.monthBeginingDrr) == 0 && Double.compare(requiredDrr, that.requiredDrr) == 0 && Double.compare(drrPercent, that.drrPercent) == 0 && lastBillingDone == that.lastBillingDone && Objects.equals(slab, that.slab);
139
    }
140
 
141
    @Override
142
    public int hashCode() {
143
        return Objects.hash(counterPotential, shortInvestment, defaultLoan, investmentLevel, activeLoan, poValue, agreedInvestment, wallet, poAndBilled, monthBeginingDrr, requiredDrr, drrPercent, lastBillingDone, slab);
144
    }
145
 
146
    @Override
147
    public String toString() {
148
        return "FofoInvestmentModel{" +
149
                "counterPotential=" + counterPotential +
150
                ", shortInvestment=" + shortInvestment +
151
                ", defaultLoan=" + defaultLoan +
152
                ", investmentLevel=" + investmentLevel +
153
                ", activeLoan=" + activeLoan +
154
                ", poValue=" + poValue +
155
                ", agreedInvestment=" + agreedInvestment +
156
                ", wallet=" + wallet +
157
                ", poAndBilled=" + poAndBilled +
158
                ", monthBeginingDrr=" + monthBeginingDrr +
159
                ", requiredDrr=" + requiredDrr +
160
                ", drrPercent=" + drrPercent +
161
                ", lastBillingDone=" + lastBillingDone +
162
                ", slab='" + slab + '\'' +
163
                '}';
164
    }
165
}