Subversion Repositories SmartDukaan

Rev

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

package com.spice.profitmandi.dao.model;

import java.util.Objects;

public class RbmArrViewModel {

    String rbmName;
    int authId;
    String warehouseName;

    int todayTarget;

    int MonthlyTarget;
    int mtdAchievedTarget;

    int todayHidTarget;
    int todaySlowMovingTarget;
    int todayFastMovingTarget;
    int todayRunningTarget;
    int todayOtherMovingTarget;

    int todayAchievedHidTarget;
    int todayAchievedSlowMovingTarget;
    int todayAchievedFastMovingTarget;
    int todayAchievedRunningTarget;
    int todayAchievedOtherMovingTarget;

    int totalAchievedTarget;

    public String getRbmName() {
        return rbmName;
    }

    public void setRbmName(String rbmName) {
        this.rbmName = rbmName;
    }

    public int getAuthId() {
        return authId;
    }

    public void setAuthId(int authId) {
        this.authId = authId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public int getTodayTarget() {
        return todayTarget;
    }

    public void setTodayTarget(int todayTarget) {
        this.todayTarget = todayTarget;
    }

    public int getMonthlyTarget() {
        return MonthlyTarget;
    }

    public void setMonthlyTarget(int monthlyTarget) {
        MonthlyTarget = monthlyTarget;
    }

    public int getMtdAchievedTarget() {
        return mtdAchievedTarget;
    }

    public void setMtdAchievedTarget(int mtdAchievedTarget) {
        this.mtdAchievedTarget = mtdAchievedTarget;
    }

    public int getTodayHidTarget() {
        return todayHidTarget;
    }

    public void setTodayHidTarget(int todayHidTarget) {
        this.todayHidTarget = todayHidTarget;
    }

    public int getTodaySlowMovingTarget() {
        return todaySlowMovingTarget;
    }

    public void setTodaySlowMovingTarget(int todaySlowMovingTarget) {
        this.todaySlowMovingTarget = todaySlowMovingTarget;
    }

    public int getTodayFastMovingTarget() {
        return todayFastMovingTarget;
    }

    public void setTodayFastMovingTarget(int todayFastMovingTarget) {
        this.todayFastMovingTarget = todayFastMovingTarget;
    }

    public int getTodayRunningTarget() {
        return todayRunningTarget;
    }

    public void setTodayRunningTarget(int todayRunningTarget) {
        this.todayRunningTarget = todayRunningTarget;
    }

    public int getTodayOtherMovingTarget() {
        return todayOtherMovingTarget;
    }

    public void setTodayOtherMovingTarget(int todayOtherMovingTarget) {
        this.todayOtherMovingTarget = todayOtherMovingTarget;
    }

    public int getTodayAchievedHidTarget() {
        return todayAchievedHidTarget;
    }

    public void setTodayAchievedHidTarget(int todayAchievedHidTarget) {
        this.todayAchievedHidTarget = todayAchievedHidTarget;
    }

    public int getTodayAchievedSlowMovingTarget() {
        return todayAchievedSlowMovingTarget;
    }

    public void setTodayAchievedSlowMovingTarget(int todayAchievedSlowMovingTarget) {
        this.todayAchievedSlowMovingTarget = todayAchievedSlowMovingTarget;
    }

    public int getTodayAchievedFastMovingTarget() {
        return todayAchievedFastMovingTarget;
    }

    public void setTodayAchievedFastMovingTarget(int todayAchievedFastMovingTarget) {
        this.todayAchievedFastMovingTarget = todayAchievedFastMovingTarget;
    }

    public int getTodayAchievedRunningTarget() {
        return todayAchievedRunningTarget;
    }

    public void setTodayAchievedRunningTarget(int todayAchievedRunningTarget) {
        this.todayAchievedRunningTarget = todayAchievedRunningTarget;
    }

    public int getTodayAchievedOtherMovingTarget() {
        return todayAchievedOtherMovingTarget;
    }

    public void setTodayAchievedOtherMovingTarget(int todayAchievedOtherMovingTarget) {
        this.todayAchievedOtherMovingTarget = todayAchievedOtherMovingTarget;
    }

    public int getTotalAchievedTarget() {
        return totalAchievedTarget;
    }

    public void setTotalAchievedTarget(int totalAchievedTarget) {
        this.totalAchievedTarget = totalAchievedTarget;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RbmArrViewModel that = (RbmArrViewModel) o;
        return authId == that.authId && Objects.equals(rbmName, that.rbmName) && Objects.equals(warehouseName, that.warehouseName) && Objects.equals(todayTarget, that.todayTarget) && Objects.equals(MonthlyTarget, that.MonthlyTarget) && Objects.equals(mtdAchievedTarget, that.mtdAchievedTarget) && Objects.equals(todayHidTarget, that.todayHidTarget) && Objects.equals(todaySlowMovingTarget, that.todaySlowMovingTarget) && Objects.equals(todayFastMovingTarget, that.todayFastMovingTarget) && Objects.equals(todayRunningTarget, that.todayRunningTarget) && Objects.equals(todayOtherMovingTarget, that.todayOtherMovingTarget) && Objects.equals(todayAchievedHidTarget, that.todayAchievedHidTarget) && Objects.equals(todayAchievedSlowMovingTarget, that.todayAchievedSlowMovingTarget) && Objects.equals(todayAchievedFastMovingTarget, that.todayAchievedFastMovingTarget) && Objects.equals(todayAchievedRunningTarget, that.todayAchievedRunningTarget) && Objects.equals(todayAchievedOtherMovingTarget, that.todayAchievedOtherMovingTarget) && Objects.equals(totalAchievedTarget, that.totalAchievedTarget);
    }

    @Override
    public int hashCode() {
        return Objects.hash(rbmName, authId, warehouseName, todayTarget, MonthlyTarget, mtdAchievedTarget, todayHidTarget, todaySlowMovingTarget, todayFastMovingTarget, todayRunningTarget, todayOtherMovingTarget, todayAchievedHidTarget, todayAchievedSlowMovingTarget, todayAchievedFastMovingTarget, todayAchievedRunningTarget, todayAchievedOtherMovingTarget, totalAchievedTarget);
    }

    @Override
    public String toString() {
        return "RbmArrViewModel{" +
                "rbmName='" + rbmName + '\'' +
                ", authId=" + authId +
                ", warehouseName='" + warehouseName + '\'' +
                ", todayTarget=" + todayTarget +
                ", MonthlyTarget=" + MonthlyTarget +
                ", mtdAchievedTarget=" + mtdAchievedTarget +
                ", todayHidTarget=" + todayHidTarget +
                ", todaySlowMovingTarget=" + todaySlowMovingTarget +
                ", todayFastMovingTarget=" + todayFastMovingTarget +
                ", todayRunningTarget=" + todayRunningTarget +
                ", todayOtherMovingTarget=" + todayOtherMovingTarget +
                ", todayAchievedHidTarget=" + todayAchievedHidTarget +
                ", todayAchievedSlowMovingTarget=" + todayAchievedSlowMovingTarget +
                ", todayAchievedFastMovingTarget=" + todayAchievedFastMovingTarget +
                ", todayAchievedRunningTarget=" + todayAchievedRunningTarget +
                ", todayAchievedOtherMovingTarget=" + todayAchievedOtherMovingTarget +
                ", totalAchievedTarget=" + totalAchievedTarget +
                '}';
    }
}