Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class FofoAbmReportingModel {

    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 int getFofoId() {
        return fofoId;
    }

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

    public String getBusinessName() {
        return businessName;
    }

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

    public String getL1Manager() {
        return l1Manager;
    }

    public void setL1Manager(String l1Manager) {
        this.l1Manager = l1Manager;
    }

    public String getL2Manager() {
        return l2Manager;
    }

    public void setL2Manager(String l2Manager) {
        this.l2Manager = l2Manager;
    }

    @Override
    public String toString() {
        return "FofoAbmReportingModel{" +
                "code='" + code + '\'' +
                ", fofoId=" + fofoId +
                ", businessName='" + businessName + '\'' +
                ", l1Manager='" + l1Manager + '\'' +
                ", l2Manager='" + l2Manager + '\'' +
                '}';
    }

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