Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
33917 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.Objects;
4
 
5
public class RbmArrViewModel {
6
 
7
    String rbmName;
8
    int authId;
9
    String warehouseName;
10
 
11
    int todayTarget;
12
 
13
    int MonthlyTarget;
14
    int mtdAchievedTarget;
15
 
16
    int todayHidTarget;
34098 ranu 17
    int todaySlowMovingTarget;
33917 ranu 18
    int todayFastMovingTarget;
34098 ranu 19
    int todayRunningTarget;
33917 ranu 20
    int todayOtherMovingTarget;
21
 
22
    int todayAchievedHidTarget;
34098 ranu 23
    int todayAchievedSlowMovingTarget;
33917 ranu 24
    int todayAchievedFastMovingTarget;
34098 ranu 25
    int todayAchievedRunningTarget;
33917 ranu 26
    int todayAchievedOtherMovingTarget;
27
 
28
    int totalAchievedTarget;
29
 
30
    public String getRbmName() {
31
        return rbmName;
32
    }
33
 
34
    public void setRbmName(String rbmName) {
35
        this.rbmName = rbmName;
36
    }
37
 
38
    public int getAuthId() {
39
        return authId;
40
    }
41
 
42
    public void setAuthId(int authId) {
43
        this.authId = authId;
44
    }
45
 
46
    public String getWarehouseName() {
47
        return warehouseName;
48
    }
49
 
50
    public void setWarehouseName(String warehouseName) {
51
        this.warehouseName = warehouseName;
52
    }
53
 
54
    public int getTodayTarget() {
55
        return todayTarget;
56
    }
57
 
58
    public void setTodayTarget(int todayTarget) {
59
        this.todayTarget = todayTarget;
60
    }
61
 
62
    public int getMonthlyTarget() {
63
        return MonthlyTarget;
64
    }
65
 
66
    public void setMonthlyTarget(int monthlyTarget) {
67
        MonthlyTarget = monthlyTarget;
68
    }
69
 
70
    public int getMtdAchievedTarget() {
71
        return mtdAchievedTarget;
72
    }
73
 
74
    public void setMtdAchievedTarget(int mtdAchievedTarget) {
75
        this.mtdAchievedTarget = mtdAchievedTarget;
76
    }
77
 
78
    public int getTodayHidTarget() {
79
        return todayHidTarget;
80
    }
81
 
82
    public void setTodayHidTarget(int todayHidTarget) {
83
        this.todayHidTarget = todayHidTarget;
84
    }
85
 
34098 ranu 86
    public int getTodaySlowMovingTarget() {
87
        return todaySlowMovingTarget;
33917 ranu 88
    }
89
 
34098 ranu 90
    public void setTodaySlowMovingTarget(int todaySlowMovingTarget) {
91
        this.todaySlowMovingTarget = todaySlowMovingTarget;
33917 ranu 92
    }
93
 
94
    public int getTodayFastMovingTarget() {
95
        return todayFastMovingTarget;
96
    }
97
 
98
    public void setTodayFastMovingTarget(int todayFastMovingTarget) {
99
        this.todayFastMovingTarget = todayFastMovingTarget;
100
    }
101
 
34098 ranu 102
    public int getTodayRunningTarget() {
103
        return todayRunningTarget;
33917 ranu 104
    }
105
 
34098 ranu 106
    public void setTodayRunningTarget(int todayRunningTarget) {
107
        this.todayRunningTarget = todayRunningTarget;
33917 ranu 108
    }
109
 
110
    public int getTodayOtherMovingTarget() {
111
        return todayOtherMovingTarget;
112
    }
113
 
114
    public void setTodayOtherMovingTarget(int todayOtherMovingTarget) {
115
        this.todayOtherMovingTarget = todayOtherMovingTarget;
116
    }
117
 
118
    public int getTodayAchievedHidTarget() {
119
        return todayAchievedHidTarget;
120
    }
121
 
122
    public void setTodayAchievedHidTarget(int todayAchievedHidTarget) {
123
        this.todayAchievedHidTarget = todayAchievedHidTarget;
124
    }
125
 
34098 ranu 126
    public int getTodayAchievedSlowMovingTarget() {
127
        return todayAchievedSlowMovingTarget;
33917 ranu 128
    }
129
 
34098 ranu 130
    public void setTodayAchievedSlowMovingTarget(int todayAchievedSlowMovingTarget) {
131
        this.todayAchievedSlowMovingTarget = todayAchievedSlowMovingTarget;
33917 ranu 132
    }
133
 
134
    public int getTodayAchievedFastMovingTarget() {
135
        return todayAchievedFastMovingTarget;
136
    }
137
 
138
    public void setTodayAchievedFastMovingTarget(int todayAchievedFastMovingTarget) {
139
        this.todayAchievedFastMovingTarget = todayAchievedFastMovingTarget;
140
    }
141
 
34098 ranu 142
    public int getTodayAchievedRunningTarget() {
143
        return todayAchievedRunningTarget;
33917 ranu 144
    }
145
 
34098 ranu 146
    public void setTodayAchievedRunningTarget(int todayAchievedRunningTarget) {
147
        this.todayAchievedRunningTarget = todayAchievedRunningTarget;
33917 ranu 148
    }
149
 
150
    public int getTodayAchievedOtherMovingTarget() {
151
        return todayAchievedOtherMovingTarget;
152
    }
153
 
154
    public void setTodayAchievedOtherMovingTarget(int todayAchievedOtherMovingTarget) {
155
        this.todayAchievedOtherMovingTarget = todayAchievedOtherMovingTarget;
156
    }
157
 
158
    public int getTotalAchievedTarget() {
159
        return totalAchievedTarget;
160
    }
161
 
162
    public void setTotalAchievedTarget(int totalAchievedTarget) {
163
        this.totalAchievedTarget = totalAchievedTarget;
164
    }
165
 
166
    @Override
167
    public boolean equals(Object o) {
168
        if (this == o) return true;
169
        if (o == null || getClass() != o.getClass()) return false;
170
        RbmArrViewModel that = (RbmArrViewModel) o;
34098 ranu 171
        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);
33917 ranu 172
    }
173
 
174
    @Override
175
    public int hashCode() {
34098 ranu 176
        return Objects.hash(rbmName, authId, warehouseName, todayTarget, MonthlyTarget, mtdAchievedTarget, todayHidTarget, todaySlowMovingTarget, todayFastMovingTarget, todayRunningTarget, todayOtherMovingTarget, todayAchievedHidTarget, todayAchievedSlowMovingTarget, todayAchievedFastMovingTarget, todayAchievedRunningTarget, todayAchievedOtherMovingTarget, totalAchievedTarget);
33917 ranu 177
    }
178
 
179
    @Override
180
    public String toString() {
181
        return "RbmArrViewModel{" +
182
                "rbmName='" + rbmName + '\'' +
183
                ", authId=" + authId +
184
                ", warehouseName='" + warehouseName + '\'' +
185
                ", todayTarget=" + todayTarget +
186
                ", MonthlyTarget=" + MonthlyTarget +
187
                ", mtdAchievedTarget=" + mtdAchievedTarget +
188
                ", todayHidTarget=" + todayHidTarget +
34098 ranu 189
                ", todaySlowMovingTarget=" + todaySlowMovingTarget +
33917 ranu 190
                ", todayFastMovingTarget=" + todayFastMovingTarget +
34098 ranu 191
                ", todayRunningTarget=" + todayRunningTarget +
33917 ranu 192
                ", todayOtherMovingTarget=" + todayOtherMovingTarget +
193
                ", todayAchievedHidTarget=" + todayAchievedHidTarget +
34098 ranu 194
                ", todayAchievedSlowMovingTarget=" + todayAchievedSlowMovingTarget +
33917 ranu 195
                ", todayAchievedFastMovingTarget=" + todayAchievedFastMovingTarget +
34098 ranu 196
                ", todayAchievedRunningTarget=" + todayAchievedRunningTarget +
33917 ranu 197
                ", todayAchievedOtherMovingTarget=" + todayAchievedOtherMovingTarget +
198
                ", totalAchievedTarget=" + totalAchievedTarget +
199
                '}';
200
    }
201
}
202
 
203