Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class LoanCountByFofoIdModel {
    private int fofoId;
    private Long loanCount;

    public LoanCountByFofoIdModel(int fofoId, Long loanCount) {
        this.fofoId = fofoId;
        this.loanCount = loanCount;
    }

    public int getFofoId() {
        return fofoId;
    }

    public void setFofoId(int fofoId) {
        this.fofoId = fofoId;
    }

    public Long getLoanCount() {
        return loanCount;
    }

    public void setLoanCount(Long loanCount) {
        this.loanCount = loanCount;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        LoanCountByFofoIdModel that = (LoanCountByFofoIdModel) o;
        return fofoId == that.fofoId && Objects.equals(loanCount, that.loanCount);
    }

    @Override
    public int hashCode() {
        return Objects.hash(fofoId, loanCount);
    }

    @Override
    public String toString() {
        return "LoanCountByFofoIdModel{" +
                "fofoId=" + fofoId +
                ", loanCount=" + loanCount +
                '}';
    }
}