Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
29061 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.time.LocalDateTime;
4
import java.util.List;
5
 
6
public class StoreTimelineModel {
7
 
8
	private int onboardingId;
9
	private String code;
10
	private String outletName;
11
	private String city;
33879 tejus.loha 12
	private String filledBy;
29062 tejbeer 13
	private String status;
29061 tejbeer 14
	private LocalDateTime onboardingTimestamp;
33845 tejus.loha 15
	private LocalDateTime wod;
16
	private LocalDateTime woFinMapping;
17
	private LocalDateTime loiFormTimestamp;
29061 tejbeer 18
	private LocalDateTime verificationTimestamp;
19
	private LocalDateTime storeCreatedTimestamp;
20
	private LocalDateTime trainingTimestamp;
21
	private LocalDateTime recceTimestamp;
22
	private LocalDateTime advanceStockTimestamp;
23
	private LocalDateTime brandingTimestamp;
24
	private LocalDateTime fullStockTimestamp;
25
	private LocalDateTime billingTimestamp;
26
	private LocalDateTime inaugrationTimestamp;
27
	private LocalDateTime finServicesTimestamp;
28
	private LocalDateTime promoterTimestamp;
29
	private List<OnBoardingTimelineModel> obtm;
30
 
31
	public List<OnBoardingTimelineModel> getObtm() {
32
		return obtm;
33
	}
34
 
35
	public void setObtm(List<OnBoardingTimelineModel> obtm) {
36
		this.obtm = obtm;
37
	}
38
 
33879 tejus.loha 39
	public StoreTimelineModel(int onboardingId, String code, String outletName, String city, String filledBy, String status,
33845 tejus.loha 40
							  LocalDateTime onboardingTimestamp, LocalDateTime loiFormTimestamp, LocalDateTime verificationTimestamp, LocalDateTime storeCreatedTimestamp,
41
							  LocalDateTime wod, LocalDateTime woFinMapping,
29061 tejbeer 42
			LocalDateTime trainingTimestamp, LocalDateTime recceTimestamp, LocalDateTime advanceStockTimestamp,
43
			LocalDateTime brandingTimestamp, LocalDateTime fullStockTimestamp, LocalDateTime billingTimestamp,
44
			LocalDateTime inaugrationTimestamp, LocalDateTime finServicesTimestamp, LocalDateTime promoterTimestamp) {
45
		super();
46
		this.onboardingId = onboardingId;
47
		this.code = code;
48
		this.outletName = outletName;
49
		this.city = city;
33879 tejus.loha 50
		this.filledBy = filledBy;
29062 tejbeer 51
		this.status = status;
29061 tejbeer 52
		this.onboardingTimestamp = onboardingTimestamp;
53
		this.verificationTimestamp = verificationTimestamp;
54
		this.storeCreatedTimestamp = storeCreatedTimestamp;
33845 tejus.loha 55
		this.wod = wod;
56
		this.woFinMapping = woFinMapping;
57
		this.loiFormTimestamp = loiFormTimestamp;
29061 tejbeer 58
		this.trainingTimestamp = trainingTimestamp;
59
		this.recceTimestamp = recceTimestamp;
60
		this.advanceStockTimestamp = advanceStockTimestamp;
61
		this.brandingTimestamp = brandingTimestamp;
62
		this.fullStockTimestamp = fullStockTimestamp;
63
		this.billingTimestamp = billingTimestamp;
64
		this.inaugrationTimestamp = inaugrationTimestamp;
65
		this.finServicesTimestamp = finServicesTimestamp;
66
		this.promoterTimestamp = promoterTimestamp;
67
	}
68
 
33879 tejus.loha 69
	public String getFilledBy() {
70
		return filledBy;
71
	}
72
 
73
	public void setFilledBy(String filledBy) {
74
		this.filledBy = filledBy;
75
	}
76
 
33845 tejus.loha 77
	public LocalDateTime getLoiFormTimestamp() {
78
		return loiFormTimestamp;
79
	}
80
 
81
	public void setLoiFormTimestamp(LocalDateTime loiFormTimestamp) {
82
		this.loiFormTimestamp = loiFormTimestamp;
83
	}
84
 
85
	public LocalDateTime getWod() {
86
		return wod;
87
	}
88
 
89
	public void setWod(LocalDateTime wod) {
90
		this.wod = wod;
91
	}
92
 
93
	public LocalDateTime getWoFinMapping() {
94
		return woFinMapping;
95
	}
96
 
97
	public void setWoFinMapping(LocalDateTime woFinMapping) {
98
		this.woFinMapping = woFinMapping;
99
	}
100
 
29062 tejbeer 101
	public String getStatus() {
102
		return status;
103
	}
104
 
105
	public void setStatus(String status) {
106
		this.status = status;
107
	}
108
 
29061 tejbeer 109
	public String getCity() {
110
		return city;
111
	}
112
 
113
	public void setCity(String city) {
114
		this.city = city;
115
	}
116
 
117
	public int getOnboardingId() {
118
		return onboardingId;
119
	}
120
 
121
	public void setOnboardingId(int onboardingId) {
122
		this.onboardingId = onboardingId;
123
	}
124
 
125
	public String getCode() {
126
		return code;
127
	}
128
 
129
	public void setCode(String code) {
130
		this.code = code;
131
	}
132
 
133
	public String getOutletName() {
134
		return outletName;
135
	}
136
 
137
	public void setOutletName(String outletName) {
138
		this.outletName = outletName;
139
	}
140
 
141
	public LocalDateTime getOnboardingTimestamp() {
142
		return onboardingTimestamp;
143
	}
144
 
145
	public void setOnboardingTimestamp(LocalDateTime onboardingTimestamp) {
146
		this.onboardingTimestamp = onboardingTimestamp;
147
	}
148
 
149
	public LocalDateTime getVerificationTimestamp() {
150
		return verificationTimestamp;
151
	}
152
 
153
	public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
154
		this.verificationTimestamp = verificationTimestamp;
155
	}
156
 
157
	public LocalDateTime getStoreCreatedTimestamp() {
158
		return storeCreatedTimestamp;
159
	}
160
 
161
	public void setStoreCreatedTimestamp(LocalDateTime storeCreatedTimestamp) {
162
		this.storeCreatedTimestamp = storeCreatedTimestamp;
163
	}
164
 
165
	public LocalDateTime getTrainingTimestamp() {
166
		return trainingTimestamp;
167
	}
168
 
169
	public void setTrainingTimestamp(LocalDateTime trainingTimestamp) {
170
		this.trainingTimestamp = trainingTimestamp;
171
	}
172
 
173
	public LocalDateTime getRecceTimestamp() {
174
		return recceTimestamp;
175
	}
176
 
177
	public void setRecceTimestamp(LocalDateTime recceTimestamp) {
178
		this.recceTimestamp = recceTimestamp;
179
	}
180
 
181
	public LocalDateTime getAdvanceStockTimestamp() {
182
		return advanceStockTimestamp;
183
	}
184
 
185
	public void setAdvanceStockTimestamp(LocalDateTime advanceStockTimestamp) {
186
		this.advanceStockTimestamp = advanceStockTimestamp;
187
	}
188
 
189
	public LocalDateTime getBrandingTimestamp() {
190
		return brandingTimestamp;
191
	}
192
 
193
	public LocalDateTime getBillingTimestamp() {
194
		return billingTimestamp;
195
	}
196
 
197
	public void setBillingTimestamp(LocalDateTime billingTimestamp) {
198
		this.billingTimestamp = billingTimestamp;
199
	}
200
 
201
	public void setBrandingTimestamp(LocalDateTime brandingTimestamp) {
202
		this.brandingTimestamp = brandingTimestamp;
203
	}
204
 
205
	public LocalDateTime getFullStockTimestamp() {
206
		return fullStockTimestamp;
207
	}
208
 
209
	public void setFullStockTimestamp(LocalDateTime fullStockTimestamp) {
210
		this.fullStockTimestamp = fullStockTimestamp;
211
	}
212
 
213
	public LocalDateTime getInaugrationTimestamp() {
214
		return inaugrationTimestamp;
215
	}
216
 
217
	public void setInaugrationTimestamp(LocalDateTime inaugrationTimestamp) {
218
		this.inaugrationTimestamp = inaugrationTimestamp;
219
	}
220
 
221
	public LocalDateTime getFinServicesTimestamp() {
222
		return finServicesTimestamp;
223
	}
224
 
225
	public void setFinServicesTimestamp(LocalDateTime finServicesTimestamp) {
226
		this.finServicesTimestamp = finServicesTimestamp;
227
	}
228
 
229
	public LocalDateTime getPromoterTimestamp() {
230
		return promoterTimestamp;
231
	}
232
 
233
	public void setPromoterTimestamp(LocalDateTime promoterTimestamp) {
234
		this.promoterTimestamp = promoterTimestamp;
235
	}
236
 
237
	@Override
238
	public int hashCode() {
239
		final int prime = 31;
240
		int result = 1;
241
		result = prime * result + ((advanceStockTimestamp == null) ? 0 : advanceStockTimestamp.hashCode());
242
		result = prime * result + ((billingTimestamp == null) ? 0 : billingTimestamp.hashCode());
243
		result = prime * result + ((brandingTimestamp == null) ? 0 : brandingTimestamp.hashCode());
244
		result = prime * result + ((city == null) ? 0 : city.hashCode());
245
		result = prime * result + ((code == null) ? 0 : code.hashCode());
246
		result = prime * result + ((finServicesTimestamp == null) ? 0 : finServicesTimestamp.hashCode());
247
		result = prime * result + ((fullStockTimestamp == null) ? 0 : fullStockTimestamp.hashCode());
248
		result = prime * result + ((inaugrationTimestamp == null) ? 0 : inaugrationTimestamp.hashCode());
249
		result = prime * result + ((obtm == null) ? 0 : obtm.hashCode());
250
		result = prime * result + onboardingId;
251
		result = prime * result + ((onboardingTimestamp == null) ? 0 : onboardingTimestamp.hashCode());
252
		result = prime * result + ((outletName == null) ? 0 : outletName.hashCode());
253
		result = prime * result + ((promoterTimestamp == null) ? 0 : promoterTimestamp.hashCode());
254
		result = prime * result + ((recceTimestamp == null) ? 0 : recceTimestamp.hashCode());
29062 tejbeer 255
		result = prime * result + ((status == null) ? 0 : status.hashCode());
29061 tejbeer 256
		result = prime * result + ((storeCreatedTimestamp == null) ? 0 : storeCreatedTimestamp.hashCode());
257
		result = prime * result + ((trainingTimestamp == null) ? 0 : trainingTimestamp.hashCode());
258
		result = prime * result + ((verificationTimestamp == null) ? 0 : verificationTimestamp.hashCode());
259
		return result;
260
	}
261
 
262
	@Override
263
	public boolean equals(Object obj) {
264
		if (this == obj)
265
			return true;
266
		if (obj == null)
267
			return false;
268
		if (getClass() != obj.getClass())
269
			return false;
270
		StoreTimelineModel other = (StoreTimelineModel) obj;
271
		if (advanceStockTimestamp == null) {
272
			if (other.advanceStockTimestamp != null)
273
				return false;
274
		} else if (!advanceStockTimestamp.equals(other.advanceStockTimestamp))
275
			return false;
276
		if (billingTimestamp == null) {
277
			if (other.billingTimestamp != null)
278
				return false;
279
		} else if (!billingTimestamp.equals(other.billingTimestamp))
280
			return false;
281
		if (brandingTimestamp == null) {
282
			if (other.brandingTimestamp != null)
283
				return false;
284
		} else if (!brandingTimestamp.equals(other.brandingTimestamp))
285
			return false;
286
		if (city == null) {
287
			if (other.city != null)
288
				return false;
289
		} else if (!city.equals(other.city))
290
			return false;
291
		if (code == null) {
292
			if (other.code != null)
293
				return false;
294
		} else if (!code.equals(other.code))
295
			return false;
296
		if (finServicesTimestamp == null) {
297
			if (other.finServicesTimestamp != null)
298
				return false;
299
		} else if (!finServicesTimestamp.equals(other.finServicesTimestamp))
300
			return false;
301
		if (fullStockTimestamp == null) {
302
			if (other.fullStockTimestamp != null)
303
				return false;
304
		} else if (!fullStockTimestamp.equals(other.fullStockTimestamp))
305
			return false;
306
		if (inaugrationTimestamp == null) {
307
			if (other.inaugrationTimestamp != null)
308
				return false;
309
		} else if (!inaugrationTimestamp.equals(other.inaugrationTimestamp))
310
			return false;
311
		if (obtm == null) {
312
			if (other.obtm != null)
313
				return false;
314
		} else if (!obtm.equals(other.obtm))
315
			return false;
316
		if (onboardingId != other.onboardingId)
317
			return false;
318
		if (onboardingTimestamp == null) {
319
			if (other.onboardingTimestamp != null)
320
				return false;
321
		} else if (!onboardingTimestamp.equals(other.onboardingTimestamp))
322
			return false;
323
		if (outletName == null) {
324
			if (other.outletName != null)
325
				return false;
326
		} else if (!outletName.equals(other.outletName))
327
			return false;
328
		if (promoterTimestamp == null) {
329
			if (other.promoterTimestamp != null)
330
				return false;
331
		} else if (!promoterTimestamp.equals(other.promoterTimestamp))
332
			return false;
333
		if (recceTimestamp == null) {
334
			if (other.recceTimestamp != null)
335
				return false;
336
		} else if (!recceTimestamp.equals(other.recceTimestamp))
337
			return false;
29062 tejbeer 338
		if (status == null) {
339
			if (other.status != null)
340
				return false;
341
		} else if (!status.equals(other.status))
342
			return false;
29061 tejbeer 343
		if (storeCreatedTimestamp == null) {
344
			if (other.storeCreatedTimestamp != null)
345
				return false;
346
		} else if (!storeCreatedTimestamp.equals(other.storeCreatedTimestamp))
347
			return false;
348
		if (trainingTimestamp == null) {
349
			if (other.trainingTimestamp != null)
350
				return false;
351
		} else if (!trainingTimestamp.equals(other.trainingTimestamp))
352
			return false;
353
		if (verificationTimestamp == null) {
354
			if (other.verificationTimestamp != null)
355
				return false;
356
		} else if (!verificationTimestamp.equals(other.verificationTimestamp))
357
			return false;
358
		return true;
359
	}
360
 
361
	@Override
362
	public String toString() {
33845 tejus.loha 363
		return "StoreTimelineModel{" +
364
				"onboardingId=" + onboardingId +
365
				", code='" + code + '\'' +
366
				", outletName='" + outletName + '\'' +
367
				", city='" + city + '\'' +
33879 tejus.loha 368
				", filledBy='" + filledBy + '\'' +
33845 tejus.loha 369
				", status='" + status + '\'' +
370
				", onboardingTimestamp=" + onboardingTimestamp +
371
				", wod=" + wod +
372
				", woFinMapping=" + woFinMapping +
373
				", loiFormTimestamp=" + loiFormTimestamp +
374
				", verificationTimestamp=" + verificationTimestamp +
375
				", storeCreatedTimestamp=" + storeCreatedTimestamp +
376
				", trainingTimestamp=" + trainingTimestamp +
377
				", recceTimestamp=" + recceTimestamp +
378
				", advanceStockTimestamp=" + advanceStockTimestamp +
379
				", brandingTimestamp=" + brandingTimestamp +
380
				", fullStockTimestamp=" + fullStockTimestamp +
381
				", billingTimestamp=" + billingTimestamp +
382
				", inaugrationTimestamp=" + inaugrationTimestamp +
383
				", finServicesTimestamp=" + finServicesTimestamp +
384
				", promoterTimestamp=" + promoterTimestamp +
385
				", obtm=" + obtm +
386
				'}';
29061 tejbeer 387
	}
388
 
389
}