Subversion Repositories SmartDukaan

Rev

Rev 34608 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class BIRetailerModel {
    String bmName;
    String code;
    String area;
    String city;
    String storeName;
    String status;
    String category;
    String salesManager;
    String rbm;
    String abm;


    public String getBmName() {
        return bmName;
    }

    public void setBmName(String bmName) {
        this.bmName = bmName;
    }

    public String getCode() {
        return code;
    }

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

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getSalesManager() {
        return salesManager;
    }

    public void setSalesManager(String salesManager) {
        this.salesManager = salesManager;
    }

    public String getRbm() {
        return rbm;
    }

    public void setRbm(String rbm) {
        this.rbm = rbm;
    }

    public String getAbm() {
        return abm;
    }

    public void setAbm(String abm) {
        this.abm = abm;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BIRetailerModel that = (BIRetailerModel) o;
        return Objects.equals(bmName, that.bmName) && Objects.equals(code, that.code) && Objects.equals(area, that.area) && Objects.equals(city, that.city) && Objects.equals(storeName, that.storeName) && Objects.equals(status, that.status) && Objects.equals(category, that.category) && Objects.equals(salesManager, that.salesManager) && Objects.equals(rbm, that.rbm) && Objects.equals(abm, that.abm);
    }

    @Override
    public int hashCode() {
        return Objects.hash(bmName, code, area, city, storeName, status, category, salesManager, rbm, abm);
    }

    @Override
    public String toString() {
        return "BIRetailerModel{" +
                "bmName='" + bmName + '\'' +
                ", code='" + code + '\'' +
                ", area='" + area + '\'' +
                ", city='" + city + '\'' +
                ", storeName='" + storeName + '\'' +
                ", status='" + status + '\'' +
                ", category='" + category + '\'' +
                ", salesManager='" + salesManager + '\'' +
                ", rbm='" + rbm + '\'' +
                ", abm='" + abm + '\'' +
                '}';
    }
}