Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class FofoRBMReportingModel {

    private String code;
    private int fofoId;
    private String businessName;
    private String L1Manager;
    private String L2Manager;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public int getFofoId() {
        return fofoId;
    }

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

    public String getL1Manager() {
        return L1Manager;
    }

    public void setL1Manager(String l1Manager) {
        L1Manager = l1Manager;
    }

    public String getL2Manager() {
        return L2Manager;
    }

    public void setL2Manager(String l2Manager) {
        L2Manager = l2Manager;
    }

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

    @Override
    public int hashCode() {
        return Objects.hash(code, fofoId, businessName, L1Manager, L2Manager);
    }

    @Override
    public String
    toString() {
        return "FofoRBMReportingModel{" +
                "code='" + code + '\'' +
                ", fofoId=" + fofoId +
                ", businessName='" + businessName + '\'' +
                ", L1Manager='" + L1Manager + '\'' +
                ", L2Manager='" + L2Manager + '\'' +
                '}';
    }
}