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