Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
30185 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
3
public class TeamCommitmentModel {
30771 amit.gupta 4
	private int authId;
30185 tejbeer 5
	private String commitmentBy;
6
	private String partnerName;
7
	private Float collectionTarget;
8
	private Float collectionAchievement;
9
	private Float samsungTarget;
10
	private Float samsungAchievement;
11
	private Float vivoTarget;
12
	private Float vivoAchievement;
13
	private Float oppoTarget;
14
	private Float oppoAchievement;
15
	private Float itelTarget;
16
	private Float itelAchievement;
30205 tejbeer 17
	private Float almostNewTarget;
18
	private Float almotNewAchievement;
30185 tejbeer 19
	private Float othersTarget;
20
	private Float othersAchievement;
30771 amit.gupta 21
	private Float totalTarget;
22
	private Float totalAchievement;
30185 tejbeer 23
 
30771 amit.gupta 24
 
25
	public TeamCommitmentModel(int authId, String commitmentBy, String partnerName, Float collectionTarget,
26
							   Float collectionAchievement, Float samsungTarget, Float samsungAchievement, Float vivoTarget,
27
							   Float vivoAchievement, Float oppoTarget, Float oppoAchievement, Float itelTarget, Float itelAchievement,
28
							   Float almostNewTarget, Float almotNewAchievement, Float othersTarget, Float othersAchievement, Float totalTarget, Float totalAchievement
29
	) {
30185 tejbeer 30
		super();
31
		this.commitmentBy = commitmentBy;
32
		this.partnerName = partnerName;
33
		this.collectionTarget = collectionTarget;
34
		this.collectionAchievement = collectionAchievement;
35
		this.samsungTarget = samsungTarget;
36
		this.samsungAchievement = samsungAchievement;
37
		this.vivoTarget = vivoTarget;
38
		this.vivoAchievement = vivoAchievement;
39
		this.oppoTarget = oppoTarget;
40
		this.oppoAchievement = oppoAchievement;
41
		this.itelTarget = itelTarget;
42
		this.itelAchievement = itelAchievement;
30205 tejbeer 43
		this.almostNewTarget = almostNewTarget;
44
		this.almotNewAchievement = almotNewAchievement;
30185 tejbeer 45
		this.othersTarget = othersTarget;
46
		this.othersAchievement = othersAchievement;
30771 amit.gupta 47
		this.totalAchievement = totalAchievement;
48
		this.totalTarget = totalTarget;
49
		this.authId = authId;
30185 tejbeer 50
	}
51
 
30771 amit.gupta 52
	public int getAuthId() {
53
		return authId;
54
	}
55
 
56
	public void setAuthId(int authId) {
57
		this.authId = authId;
58
	}
59
 
60
	public Float getTotalTarget() {
61
		return totalTarget;
62
	}
63
 
64
	public void setTotalTarget(Float totalTarget) {
65
		this.totalTarget = totalTarget;
66
	}
67
 
68
	public Float getTotalAchievement() {
69
		return totalAchievement;
70
	}
71
 
72
	public void setTotalAchievement(Float totalAchievement) {
73
		this.totalAchievement = totalAchievement;
74
	}
75
 
30205 tejbeer 76
	public Float getAlmostNewTarget() {
77
		return almostNewTarget;
78
	}
79
 
80
	public void setAlmostNewTarget(Float almostNewTarget) {
81
		this.almostNewTarget = almostNewTarget;
82
	}
83
 
84
	public Float getAlmotNewAchievement() {
85
		return almotNewAchievement;
86
	}
87
 
88
	public void setAlmotNewAchievement(Float almotNewAchievement) {
89
		this.almotNewAchievement = almotNewAchievement;
90
	}
91
 
30185 tejbeer 92
	public String getCommitmentBy() {
93
		return commitmentBy;
94
	}
95
 
96
	public void setCommitmentBy(String commitmentBy) {
97
		this.commitmentBy = commitmentBy;
98
	}
99
 
100
	public String getPartnerName() {
101
		return partnerName;
102
	}
103
 
104
	public void setPartnerName(String partnerName) {
105
		this.partnerName = partnerName;
106
	}
107
 
108
	public Float getCollectionTarget() {
109
		return collectionTarget;
110
	}
111
 
112
	public void setCollectionTarget(Float collectionTarget) {
113
		this.collectionTarget = collectionTarget;
114
	}
115
 
116
	public Float getCollectionAchievement() {
117
		return collectionAchievement;
118
	}
119
 
120
	public void setCollectionAchievement(Float collectionAchievement) {
121
		this.collectionAchievement = collectionAchievement;
122
	}
123
 
124
	public Float getSamsungTarget() {
125
		return samsungTarget;
126
	}
127
 
128
	public void setSamsungTarget(Float samsungTarget) {
129
		this.samsungTarget = samsungTarget;
130
	}
131
 
132
	public Float getSamsungAchievement() {
133
		return samsungAchievement;
134
	}
135
 
136
	public void setSamsungAchievement(Float samsungAchievement) {
137
		this.samsungAchievement = samsungAchievement;
138
	}
139
 
140
	public Float getVivoTarget() {
141
		return vivoTarget;
142
	}
143
 
144
	public void setVivoTarget(Float vivoTarget) {
145
		this.vivoTarget = vivoTarget;
146
	}
147
 
148
	public Float getVivoAchievement() {
149
		return vivoAchievement;
150
	}
151
 
152
	public void setVivoAchievement(Float vivoAchievement) {
153
		this.vivoAchievement = vivoAchievement;
154
	}
155
 
156
	public Float getOppoTarget() {
157
		return oppoTarget;
158
	}
159
 
160
	public void setOppoTarget(Float oppoTarget) {
161
		this.oppoTarget = oppoTarget;
162
	}
163
 
164
	public Float getOppoAchievement() {
165
		return oppoAchievement;
166
	}
167
 
168
	public void setOppoAchievement(Float oppoAchievement) {
169
		this.oppoAchievement = oppoAchievement;
170
	}
171
 
172
	public Float getItelTarget() {
173
		return itelTarget;
174
	}
175
 
176
	public void setItelTarget(Float itelTarget) {
177
		this.itelTarget = itelTarget;
178
	}
179
 
180
	public Float getItelAchievement() {
181
		return itelAchievement;
182
	}
183
 
184
	public void setItelAchievement(Float itelAchievement) {
185
		this.itelAchievement = itelAchievement;
186
	}
187
 
188
	public Float getOthersTarget() {
189
		return othersTarget;
190
	}
191
 
192
	public void setOthersTarget(Float othersTarget) {
193
		this.othersTarget = othersTarget;
194
	}
195
 
196
	public Float getOthersAchievement() {
197
		return othersAchievement;
198
	}
199
 
200
	public void setOthersAchievement(Float othersAchievement) {
201
		this.othersAchievement = othersAchievement;
202
	}
203
 
204
	@Override
205
	public int hashCode() {
206
		final int prime = 31;
207
		int result = 1;
30205 tejbeer 208
		result = prime * result + ((almostNewTarget == null) ? 0 : almostNewTarget.hashCode());
209
		result = prime * result + ((almotNewAchievement == null) ? 0 : almotNewAchievement.hashCode());
30185 tejbeer 210
		result = prime * result + ((collectionAchievement == null) ? 0 : collectionAchievement.hashCode());
211
		result = prime * result + ((collectionTarget == null) ? 0 : collectionTarget.hashCode());
212
		result = prime * result + ((commitmentBy == null) ? 0 : commitmentBy.hashCode());
213
		result = prime * result + ((itelAchievement == null) ? 0 : itelAchievement.hashCode());
214
		result = prime * result + ((itelTarget == null) ? 0 : itelTarget.hashCode());
215
		result = prime * result + ((oppoAchievement == null) ? 0 : oppoAchievement.hashCode());
216
		result = prime * result + ((oppoTarget == null) ? 0 : oppoTarget.hashCode());
217
		result = prime * result + ((othersAchievement == null) ? 0 : othersAchievement.hashCode());
218
		result = prime * result + ((othersTarget == null) ? 0 : othersTarget.hashCode());
219
		result = prime * result + ((partnerName == null) ? 0 : partnerName.hashCode());
220
		result = prime * result + ((samsungAchievement == null) ? 0 : samsungAchievement.hashCode());
221
		result = prime * result + ((samsungTarget == null) ? 0 : samsungTarget.hashCode());
222
		result = prime * result + ((vivoAchievement == null) ? 0 : vivoAchievement.hashCode());
223
		result = prime * result + ((vivoTarget == null) ? 0 : vivoTarget.hashCode());
224
		return result;
225
	}
226
 
227
	@Override
228
	public boolean equals(Object obj) {
229
		if (this == obj)
230
			return true;
231
		if (obj == null)
232
			return false;
233
		if (getClass() != obj.getClass())
234
			return false;
235
		TeamCommitmentModel other = (TeamCommitmentModel) obj;
30205 tejbeer 236
		if (almostNewTarget == null) {
237
			if (other.almostNewTarget != null)
238
				return false;
239
		} else if (!almostNewTarget.equals(other.almostNewTarget))
240
			return false;
241
		if (almotNewAchievement == null) {
242
			if (other.almotNewAchievement != null)
243
				return false;
244
		} else if (!almotNewAchievement.equals(other.almotNewAchievement))
245
			return false;
30185 tejbeer 246
		if (collectionAchievement == null) {
247
			if (other.collectionAchievement != null)
248
				return false;
249
		} else if (!collectionAchievement.equals(other.collectionAchievement))
250
			return false;
251
		if (collectionTarget == null) {
252
			if (other.collectionTarget != null)
253
				return false;
254
		} else if (!collectionTarget.equals(other.collectionTarget))
255
			return false;
256
		if (commitmentBy == null) {
257
			if (other.commitmentBy != null)
258
				return false;
259
		} else if (!commitmentBy.equals(other.commitmentBy))
260
			return false;
261
		if (itelAchievement == null) {
262
			if (other.itelAchievement != null)
263
				return false;
264
		} else if (!itelAchievement.equals(other.itelAchievement))
265
			return false;
266
		if (itelTarget == null) {
267
			if (other.itelTarget != null)
268
				return false;
269
		} else if (!itelTarget.equals(other.itelTarget))
270
			return false;
271
		if (oppoAchievement == null) {
272
			if (other.oppoAchievement != null)
273
				return false;
274
		} else if (!oppoAchievement.equals(other.oppoAchievement))
275
			return false;
276
		if (oppoTarget == null) {
277
			if (other.oppoTarget != null)
278
				return false;
279
		} else if (!oppoTarget.equals(other.oppoTarget))
280
			return false;
281
		if (othersAchievement == null) {
282
			if (other.othersAchievement != null)
283
				return false;
284
		} else if (!othersAchievement.equals(other.othersAchievement))
285
			return false;
286
		if (othersTarget == null) {
287
			if (other.othersTarget != null)
288
				return false;
289
		} else if (!othersTarget.equals(other.othersTarget))
290
			return false;
291
		if (partnerName == null) {
292
			if (other.partnerName != null)
293
				return false;
294
		} else if (!partnerName.equals(other.partnerName))
295
			return false;
296
		if (samsungAchievement == null) {
297
			if (other.samsungAchievement != null)
298
				return false;
299
		} else if (!samsungAchievement.equals(other.samsungAchievement))
300
			return false;
301
		if (samsungTarget == null) {
302
			if (other.samsungTarget != null)
303
				return false;
304
		} else if (!samsungTarget.equals(other.samsungTarget))
305
			return false;
306
		if (vivoAchievement == null) {
307
			if (other.vivoAchievement != null)
308
				return false;
309
		} else if (!vivoAchievement.equals(other.vivoAchievement))
310
			return false;
311
		if (vivoTarget == null) {
312
			if (other.vivoTarget != null)
313
				return false;
314
		} else if (!vivoTarget.equals(other.vivoTarget))
315
			return false;
316
		return true;
317
	}
318
 
319
	@Override
320
	public String toString() {
321
		return "TeamCommitmentModel [commitmentBy=" + commitmentBy + ", partnerName=" + partnerName
322
				+ ", collectionTarget=" + collectionTarget + ", collectionAchievement=" + collectionAchievement
323
				+ ", samsungTarget=" + samsungTarget + ", samsungAchievement=" + samsungAchievement + ", vivoTarget="
324
				+ vivoTarget + ", vivoAchievement=" + vivoAchievement + ", oppoTarget=" + oppoTarget
325
				+ ", oppoAchievement=" + oppoAchievement + ", itelTarget=" + itelTarget + ", itelAchievement="
30205 tejbeer 326
				+ itelAchievement + ", almostNewTarget=" + almostNewTarget + ", almotNewAchievement="
327
				+ almotNewAchievement + ", othersTarget=" + othersTarget + ", othersAchievement=" + othersAchievement
328
				+ "]";
30185 tejbeer 329
	}
330
 
331
}