Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | 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;
17
    int todayEolTarget;
18
    int todayFastMovingTarget;
19
    int todaySlowMovingTarget;
20
    int todayOtherMovingTarget;
21
 
22
    int todayAchievedHidTarget;
23
    int todayAchievedEolTarget;
24
    int todayAchievedFastMovingTarget;
25
    int todayAchievedSlowMovingTarget;
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
 
86
    public int getTodayEolTarget() {
87
        return todayEolTarget;
88
    }
89
 
90
    public void setTodayEolTarget(int todayEolTarget) {
91
        this.todayEolTarget = todayEolTarget;
92
    }
93
 
94
    public int getTodayFastMovingTarget() {
95
        return todayFastMovingTarget;
96
    }
97
 
98
    public void setTodayFastMovingTarget(int todayFastMovingTarget) {
99
        this.todayFastMovingTarget = todayFastMovingTarget;
100
    }
101
 
102
    public int getTodaySlowMovingTarget() {
103
        return todaySlowMovingTarget;
104
    }
105
 
106
    public void setTodaySlowMovingTarget(int todaySlowMovingTarget) {
107
        this.todaySlowMovingTarget = todaySlowMovingTarget;
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
 
126
    public int getTodayAchievedEolTarget() {
127
        return todayAchievedEolTarget;
128
    }
129
 
130
    public void setTodayAchievedEolTarget(int todayAchievedEolTarget) {
131
        this.todayAchievedEolTarget = todayAchievedEolTarget;
132
    }
133
 
134
    public int getTodayAchievedFastMovingTarget() {
135
        return todayAchievedFastMovingTarget;
136
    }
137
 
138
    public void setTodayAchievedFastMovingTarget(int todayAchievedFastMovingTarget) {
139
        this.todayAchievedFastMovingTarget = todayAchievedFastMovingTarget;
140
    }
141
 
142
    public int getTodayAchievedSlowMovingTarget() {
143
        return todayAchievedSlowMovingTarget;
144
    }
145
 
146
    public void setTodayAchievedSlowMovingTarget(int todayAchievedSlowMovingTarget) {
147
        this.todayAchievedSlowMovingTarget = todayAchievedSlowMovingTarget;
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;
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(todayEolTarget, that.todayEolTarget) && Objects.equals(todayFastMovingTarget, that.todayFastMovingTarget) && Objects.equals(todaySlowMovingTarget, that.todaySlowMovingTarget) && Objects.equals(todayOtherMovingTarget, that.todayOtherMovingTarget) && Objects.equals(todayAchievedHidTarget, that.todayAchievedHidTarget) && Objects.equals(todayAchievedEolTarget, that.todayAchievedEolTarget) && Objects.equals(todayAchievedFastMovingTarget, that.todayAchievedFastMovingTarget) && Objects.equals(todayAchievedSlowMovingTarget, that.todayAchievedSlowMovingTarget) && Objects.equals(todayAchievedOtherMovingTarget, that.todayAchievedOtherMovingTarget) && Objects.equals(totalAchievedTarget, that.totalAchievedTarget);
172
    }
173
 
174
    @Override
175
    public int hashCode() {
176
        return Objects.hash(rbmName, authId, warehouseName, todayTarget, MonthlyTarget, mtdAchievedTarget, todayHidTarget, todayEolTarget, todayFastMovingTarget, todaySlowMovingTarget, todayOtherMovingTarget, todayAchievedHidTarget, todayAchievedEolTarget, todayAchievedFastMovingTarget, todayAchievedSlowMovingTarget, todayAchievedOtherMovingTarget, totalAchievedTarget);
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 +
189
                ", todayEolTarget=" + todayEolTarget +
190
                ", todayFastMovingTarget=" + todayFastMovingTarget +
191
                ", todaySlowMovingTarget=" + todaySlowMovingTarget +
192
                ", todayOtherMovingTarget=" + todayOtherMovingTarget +
193
                ", todayAchievedHidTarget=" + todayAchievedHidTarget +
194
                ", todayAchievedEolTarget=" + todayAchievedEolTarget +
195
                ", todayAchievedFastMovingTarget=" + todayAchievedFastMovingTarget +
196
                ", todayAchievedSlowMovingTarget=" + todayAchievedSlowMovingTarget +
197
                ", todayAchievedOtherMovingTarget=" + todayAchievedOtherMovingTarget +
198
                ", totalAchievedTarget=" + totalAchievedTarget +
199
                '}';
200
    }
201
}
202
 
203