Subversion Repositories SmartDukaan

Rev

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