Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class FofoInvestmentModel {
    float counterPotential;
    float shortInvestment;
    float defaultLoan;
    float investmentLevel;
    float activeLoan;
    float poValue;
    float agreedInvestment;
    float wallet;
    float poAndBilled;
    double monthBeginingDrr;
    double requiredDrr;
    double drrPercent;
    int lastBillingDone;
    String slab;

    public float getCounterPotential() {
        return counterPotential;
    }

    public void setCounterPotential(float counterPotential) {
        this.counterPotential = counterPotential;
    }

    public float getShortInvestment() {
        return shortInvestment;
    }

    public void setShortInvestment(float shortInvestment) {
        this.shortInvestment = shortInvestment;
    }

    public float getDefaultLoan() {
        return defaultLoan;
    }

    public void setDefaultLoan(float defaultLoan) {
        this.defaultLoan = defaultLoan;
    }

    public float getInvestmentLevel() {
        return investmentLevel;
    }

    public void setInvestmentLevel(float investmentLevel) {
        this.investmentLevel = investmentLevel;
    }

    public float getActiveLoan() {
        return activeLoan;
    }

    public void setActiveLoan(float activeLoan) {
        this.activeLoan = activeLoan;
    }

    public float getPoValue() {
        return poValue;
    }

    public void setPoValue(float poValue) {
        this.poValue = poValue;
    }

    public float getAgreedInvestment() {
        return agreedInvestment;
    }

    public void setAgreedInvestment(float agreedInvestment) {
        this.agreedInvestment = agreedInvestment;
    }

    public float getWallet() {
        return wallet;
    }

    public void setWallet(float wallet) {
        this.wallet = wallet;
    }

    public float getPoAndBilled() {
        return poAndBilled;
    }

    public void setPoAndBilled(float poAndBilled) {
        this.poAndBilled = poAndBilled;
    }

    public double getMonthBeginingDrr() {
        return monthBeginingDrr;
    }

    public void setMonthBeginingDrr(double monthBeginingDrr) {
        this.monthBeginingDrr = monthBeginingDrr;
    }

    public double getRequiredDrr() {
        return requiredDrr;
    }

    public void setRequiredDrr(double requiredDrr) {
        this.requiredDrr = requiredDrr;
    }

    public double getDrrPercent() {
        return drrPercent;
    }

    public void setDrrPercent(double drrPercent) {
        this.drrPercent = drrPercent;
    }

    public int getLastBillingDone() {
        return lastBillingDone;
    }

    public void setLastBillingDone(int lastBillingDone) {
        this.lastBillingDone = lastBillingDone;
    }

    public String getSlab() {
        return slab;
    }

    public void setSlab(String slab) {
        this.slab = slab;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FofoInvestmentModel that = (FofoInvestmentModel) o;
        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);
    }

    @Override
    public int hashCode() {
        return Objects.hash(counterPotential, shortInvestment, defaultLoan, investmentLevel, activeLoan, poValue, agreedInvestment, wallet, poAndBilled, monthBeginingDrr, requiredDrr, drrPercent, lastBillingDone, slab);
    }

    @Override
    public String toString() {
        return "FofoInvestmentModel{" +
                "counterPotential=" + counterPotential +
                ", shortInvestment=" + shortInvestment +
                ", defaultLoan=" + defaultLoan +
                ", investmentLevel=" + investmentLevel +
                ", activeLoan=" + activeLoan +
                ", poValue=" + poValue +
                ", agreedInvestment=" + agreedInvestment +
                ", wallet=" + wallet +
                ", poAndBilled=" + poAndBilled +
                ", monthBeginingDrr=" + monthBeginingDrr +
                ", requiredDrr=" + requiredDrr +
                ", drrPercent=" + drrPercent +
                ", lastBillingDone=" + lastBillingDone +
                ", slab='" + slab + '\'' +
                '}';
    }
}