Subversion Repositories SmartDukaan

Rev

Rev 29061 | Rev 33845 | Go to most recent revision | 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;
29062 tejbeer 12
	private String status;
29061 tejbeer 13
	private LocalDateTime onboardingTimestamp;
14
	private LocalDateTime verificationTimestamp;
15
	private LocalDateTime storeCreatedTimestamp;
16
	private LocalDateTime trainingTimestamp;
17
	private LocalDateTime recceTimestamp;
18
	private LocalDateTime advanceStockTimestamp;
19
	private LocalDateTime brandingTimestamp;
20
	private LocalDateTime fullStockTimestamp;
21
	private LocalDateTime billingTimestamp;
22
	private LocalDateTime inaugrationTimestamp;
23
	private LocalDateTime finServicesTimestamp;
24
	private LocalDateTime promoterTimestamp;
25
	private List<OnBoardingTimelineModel> obtm;
26
 
27
	public List<OnBoardingTimelineModel> getObtm() {
28
		return obtm;
29
	}
30
 
31
	public void setObtm(List<OnBoardingTimelineModel> obtm) {
32
		this.obtm = obtm;
33
	}
34
 
29062 tejbeer 35
	public StoreTimelineModel(int onboardingId, String code, String outletName, String city, String status,
29061 tejbeer 36
			LocalDateTime onboardingTimestamp, LocalDateTime verificationTimestamp, LocalDateTime storeCreatedTimestamp,
37
			LocalDateTime trainingTimestamp, LocalDateTime recceTimestamp, LocalDateTime advanceStockTimestamp,
38
			LocalDateTime brandingTimestamp, LocalDateTime fullStockTimestamp, LocalDateTime billingTimestamp,
39
			LocalDateTime inaugrationTimestamp, LocalDateTime finServicesTimestamp, LocalDateTime promoterTimestamp) {
40
		super();
41
		this.onboardingId = onboardingId;
42
		this.code = code;
43
		this.outletName = outletName;
44
		this.city = city;
29062 tejbeer 45
		this.status = status;
29061 tejbeer 46
		this.onboardingTimestamp = onboardingTimestamp;
47
		this.verificationTimestamp = verificationTimestamp;
48
		this.storeCreatedTimestamp = storeCreatedTimestamp;
49
		this.trainingTimestamp = trainingTimestamp;
50
		this.recceTimestamp = recceTimestamp;
51
		this.advanceStockTimestamp = advanceStockTimestamp;
52
		this.brandingTimestamp = brandingTimestamp;
53
		this.fullStockTimestamp = fullStockTimestamp;
54
		this.billingTimestamp = billingTimestamp;
55
		this.inaugrationTimestamp = inaugrationTimestamp;
56
		this.finServicesTimestamp = finServicesTimestamp;
57
		this.promoterTimestamp = promoterTimestamp;
58
	}
59
 
29062 tejbeer 60
	public String getStatus() {
61
		return status;
62
	}
63
 
64
	public void setStatus(String status) {
65
		this.status = status;
66
	}
67
 
29061 tejbeer 68
	public String getCity() {
69
		return city;
70
	}
71
 
72
	public void setCity(String city) {
73
		this.city = city;
74
	}
75
 
76
	public int getOnboardingId() {
77
		return onboardingId;
78
	}
79
 
80
	public void setOnboardingId(int onboardingId) {
81
		this.onboardingId = onboardingId;
82
	}
83
 
84
	public String getCode() {
85
		return code;
86
	}
87
 
88
	public void setCode(String code) {
89
		this.code = code;
90
	}
91
 
92
	public String getOutletName() {
93
		return outletName;
94
	}
95
 
96
	public void setOutletName(String outletName) {
97
		this.outletName = outletName;
98
	}
99
 
100
	public LocalDateTime getOnboardingTimestamp() {
101
		return onboardingTimestamp;
102
	}
103
 
104
	public void setOnboardingTimestamp(LocalDateTime onboardingTimestamp) {
105
		this.onboardingTimestamp = onboardingTimestamp;
106
	}
107
 
108
	public LocalDateTime getVerificationTimestamp() {
109
		return verificationTimestamp;
110
	}
111
 
112
	public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
113
		this.verificationTimestamp = verificationTimestamp;
114
	}
115
 
116
	public LocalDateTime getStoreCreatedTimestamp() {
117
		return storeCreatedTimestamp;
118
	}
119
 
120
	public void setStoreCreatedTimestamp(LocalDateTime storeCreatedTimestamp) {
121
		this.storeCreatedTimestamp = storeCreatedTimestamp;
122
	}
123
 
124
	public LocalDateTime getTrainingTimestamp() {
125
		return trainingTimestamp;
126
	}
127
 
128
	public void setTrainingTimestamp(LocalDateTime trainingTimestamp) {
129
		this.trainingTimestamp = trainingTimestamp;
130
	}
131
 
132
	public LocalDateTime getRecceTimestamp() {
133
		return recceTimestamp;
134
	}
135
 
136
	public void setRecceTimestamp(LocalDateTime recceTimestamp) {
137
		this.recceTimestamp = recceTimestamp;
138
	}
139
 
140
	public LocalDateTime getAdvanceStockTimestamp() {
141
		return advanceStockTimestamp;
142
	}
143
 
144
	public void setAdvanceStockTimestamp(LocalDateTime advanceStockTimestamp) {
145
		this.advanceStockTimestamp = advanceStockTimestamp;
146
	}
147
 
148
	public LocalDateTime getBrandingTimestamp() {
149
		return brandingTimestamp;
150
	}
151
 
152
	public LocalDateTime getBillingTimestamp() {
153
		return billingTimestamp;
154
	}
155
 
156
	public void setBillingTimestamp(LocalDateTime billingTimestamp) {
157
		this.billingTimestamp = billingTimestamp;
158
	}
159
 
160
	public void setBrandingTimestamp(LocalDateTime brandingTimestamp) {
161
		this.brandingTimestamp = brandingTimestamp;
162
	}
163
 
164
	public LocalDateTime getFullStockTimestamp() {
165
		return fullStockTimestamp;
166
	}
167
 
168
	public void setFullStockTimestamp(LocalDateTime fullStockTimestamp) {
169
		this.fullStockTimestamp = fullStockTimestamp;
170
	}
171
 
172
	public LocalDateTime getInaugrationTimestamp() {
173
		return inaugrationTimestamp;
174
	}
175
 
176
	public void setInaugrationTimestamp(LocalDateTime inaugrationTimestamp) {
177
		this.inaugrationTimestamp = inaugrationTimestamp;
178
	}
179
 
180
	public LocalDateTime getFinServicesTimestamp() {
181
		return finServicesTimestamp;
182
	}
183
 
184
	public void setFinServicesTimestamp(LocalDateTime finServicesTimestamp) {
185
		this.finServicesTimestamp = finServicesTimestamp;
186
	}
187
 
188
	public LocalDateTime getPromoterTimestamp() {
189
		return promoterTimestamp;
190
	}
191
 
192
	public void setPromoterTimestamp(LocalDateTime promoterTimestamp) {
193
		this.promoterTimestamp = promoterTimestamp;
194
	}
195
 
196
	@Override
197
	public int hashCode() {
198
		final int prime = 31;
199
		int result = 1;
200
		result = prime * result + ((advanceStockTimestamp == null) ? 0 : advanceStockTimestamp.hashCode());
201
		result = prime * result + ((billingTimestamp == null) ? 0 : billingTimestamp.hashCode());
202
		result = prime * result + ((brandingTimestamp == null) ? 0 : brandingTimestamp.hashCode());
203
		result = prime * result + ((city == null) ? 0 : city.hashCode());
204
		result = prime * result + ((code == null) ? 0 : code.hashCode());
205
		result = prime * result + ((finServicesTimestamp == null) ? 0 : finServicesTimestamp.hashCode());
206
		result = prime * result + ((fullStockTimestamp == null) ? 0 : fullStockTimestamp.hashCode());
207
		result = prime * result + ((inaugrationTimestamp == null) ? 0 : inaugrationTimestamp.hashCode());
208
		result = prime * result + ((obtm == null) ? 0 : obtm.hashCode());
209
		result = prime * result + onboardingId;
210
		result = prime * result + ((onboardingTimestamp == null) ? 0 : onboardingTimestamp.hashCode());
211
		result = prime * result + ((outletName == null) ? 0 : outletName.hashCode());
212
		result = prime * result + ((promoterTimestamp == null) ? 0 : promoterTimestamp.hashCode());
213
		result = prime * result + ((recceTimestamp == null) ? 0 : recceTimestamp.hashCode());
29062 tejbeer 214
		result = prime * result + ((status == null) ? 0 : status.hashCode());
29061 tejbeer 215
		result = prime * result + ((storeCreatedTimestamp == null) ? 0 : storeCreatedTimestamp.hashCode());
216
		result = prime * result + ((trainingTimestamp == null) ? 0 : trainingTimestamp.hashCode());
217
		result = prime * result + ((verificationTimestamp == null) ? 0 : verificationTimestamp.hashCode());
218
		return result;
219
	}
220
 
221
	@Override
222
	public boolean equals(Object obj) {
223
		if (this == obj)
224
			return true;
225
		if (obj == null)
226
			return false;
227
		if (getClass() != obj.getClass())
228
			return false;
229
		StoreTimelineModel other = (StoreTimelineModel) obj;
230
		if (advanceStockTimestamp == null) {
231
			if (other.advanceStockTimestamp != null)
232
				return false;
233
		} else if (!advanceStockTimestamp.equals(other.advanceStockTimestamp))
234
			return false;
235
		if (billingTimestamp == null) {
236
			if (other.billingTimestamp != null)
237
				return false;
238
		} else if (!billingTimestamp.equals(other.billingTimestamp))
239
			return false;
240
		if (brandingTimestamp == null) {
241
			if (other.brandingTimestamp != null)
242
				return false;
243
		} else if (!brandingTimestamp.equals(other.brandingTimestamp))
244
			return false;
245
		if (city == null) {
246
			if (other.city != null)
247
				return false;
248
		} else if (!city.equals(other.city))
249
			return false;
250
		if (code == null) {
251
			if (other.code != null)
252
				return false;
253
		} else if (!code.equals(other.code))
254
			return false;
255
		if (finServicesTimestamp == null) {
256
			if (other.finServicesTimestamp != null)
257
				return false;
258
		} else if (!finServicesTimestamp.equals(other.finServicesTimestamp))
259
			return false;
260
		if (fullStockTimestamp == null) {
261
			if (other.fullStockTimestamp != null)
262
				return false;
263
		} else if (!fullStockTimestamp.equals(other.fullStockTimestamp))
264
			return false;
265
		if (inaugrationTimestamp == null) {
266
			if (other.inaugrationTimestamp != null)
267
				return false;
268
		} else if (!inaugrationTimestamp.equals(other.inaugrationTimestamp))
269
			return false;
270
		if (obtm == null) {
271
			if (other.obtm != null)
272
				return false;
273
		} else if (!obtm.equals(other.obtm))
274
			return false;
275
		if (onboardingId != other.onboardingId)
276
			return false;
277
		if (onboardingTimestamp == null) {
278
			if (other.onboardingTimestamp != null)
279
				return false;
280
		} else if (!onboardingTimestamp.equals(other.onboardingTimestamp))
281
			return false;
282
		if (outletName == null) {
283
			if (other.outletName != null)
284
				return false;
285
		} else if (!outletName.equals(other.outletName))
286
			return false;
287
		if (promoterTimestamp == null) {
288
			if (other.promoterTimestamp != null)
289
				return false;
290
		} else if (!promoterTimestamp.equals(other.promoterTimestamp))
291
			return false;
292
		if (recceTimestamp == null) {
293
			if (other.recceTimestamp != null)
294
				return false;
295
		} else if (!recceTimestamp.equals(other.recceTimestamp))
296
			return false;
29062 tejbeer 297
		if (status == null) {
298
			if (other.status != null)
299
				return false;
300
		} else if (!status.equals(other.status))
301
			return false;
29061 tejbeer 302
		if (storeCreatedTimestamp == null) {
303
			if (other.storeCreatedTimestamp != null)
304
				return false;
305
		} else if (!storeCreatedTimestamp.equals(other.storeCreatedTimestamp))
306
			return false;
307
		if (trainingTimestamp == null) {
308
			if (other.trainingTimestamp != null)
309
				return false;
310
		} else if (!trainingTimestamp.equals(other.trainingTimestamp))
311
			return false;
312
		if (verificationTimestamp == null) {
313
			if (other.verificationTimestamp != null)
314
				return false;
315
		} else if (!verificationTimestamp.equals(other.verificationTimestamp))
316
			return false;
317
		return true;
318
	}
319
 
320
	@Override
321
	public String toString() {
322
		return "StoreTimelineModel [onboardingId=" + onboardingId + ", code=" + code + ", outletName=" + outletName
323
				+ ", onboardingTimestamp=" + onboardingTimestamp + ", verificationTimestamp=" + verificationTimestamp
324
				+ ", storeCreatedTimestamp=" + storeCreatedTimestamp + ", trainingTimestamp=" + trainingTimestamp
325
				+ ", recceTimestamp=" + recceTimestamp + ", advanceStockTimestamp=" + advanceStockTimestamp
326
				+ ", brandingTimestamp=" + brandingTimestamp + ", fullStockTimestamp=" + fullStockTimestamp
327
				+ ", billingTimestamp=" + billingTimestamp + ", inaugrationTimestamp=" + inaugrationTimestamp
328
				+ ", finServicesTimestamp=" + finServicesTimestamp + ", promoterTimestamp=" + promoterTimestamp + "]";
329
	}
330
 
331
}