Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30158 manish 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.time.LocalDateTime;
4
 
5
public class FocoSaleReportModel {
6
 
7
	private  String code;
8
	private  String name;
9
	private  String city;
10
	private  String state;
11
 
12
	private  String region;
13
	private  int itemId;
14
	private  String brand;
15
	private  String modelName;
16
	private  String modelNumber;
17
 
18
	private  String color;
19
	private  int quantity;
20
	private  int dp;	
21
	private  int sellingPrice;
22
    private  int mop;
23
 
24
	private  String serialNumber;
25
	private  LocalDateTime CreateDate;
26
	private  String customerName;
27
	private  String customerPhone;
28
	private  String customerCity;
29
 
30
	private  String customerPincode;
31
	private  String invoiceNumber;
32
	private  String purchaseReference;
33
	private  String customerGstNumber;
34
	private  LocalDateTime cancelledTimestamp;
35
 
36
	private  LocalDateTime grnCompleteDate;
37
	private  Boolean hygieneRating;
38
	private  Integer rating;
39
	private  String status;
40
 
41
	private  String remark;
42
	private  LocalDateTime createdTimestamp;
43
 
44
	private  LocalDateTime disposedTimestamp;
45
	private  LocalDateTime nextTimestamp;
46
	private  LocalDateTime activationTimestamp;
47
	private  LocalDateTime createTimestamp;
48
	private  String label;
49
	public String getCode() {
50
		return code;
51
	}
52
	public void setCode(String code) {
53
		this.code = code;
54
	}
55
	public String getName() {
56
		return name;
57
	}
58
	public void setName(String name) {
59
		this.name = name;
60
	}
61
	public String getCity() {
62
		return city;
63
	}
64
	public void setCity(String city) {
65
		this.city = city;
66
	}
67
	public String getState() {
68
		return state;
69
	}
70
	public void setState(String state) {
71
		this.state = state;
72
	}
73
	public String getRegion() {
74
		return region;
75
	}
76
	public void setRegion(String region) {
77
		this.region = region;
78
	}
79
	public int getItemId() {
80
		return itemId;
81
	}
82
	public void setItemId(int itemId) {
83
		this.itemId = itemId;
84
	}
85
	public String getBrand() {
86
		return brand;
87
	}
88
	public void setBrand(String brand) {
89
		this.brand = brand;
90
	}
91
	public String getModelName() {
92
		return modelName;
93
	}
94
	public void setModelName(String modelName) {
95
		this.modelName = modelName;
96
	}
97
 
98
	public String getColor() {
99
		return color;
100
	}
101
	public void setColor(String color) {
102
		this.color = color;
103
	}
104
	public int getQuantity() {
105
		return quantity;
106
	}
107
	public void setQuantity(int quantity) {
108
		this.quantity = quantity;
109
	}
110
	public int getDp() {
111
		return dp;
112
	}
113
	public void setDp(int dp) {
114
		this.dp = dp;
115
	}
116
 
117
	public String getModelNumber() {
118
		return modelNumber;
119
	}
120
	public void setModelNumber(String modelNumber) {
121
		this.modelNumber = modelNumber;
122
	}
123
	public int getSellingPrice() {
124
		return sellingPrice;
125
	}
126
	public void setSellingPrice(int sellingPrice) {
127
		this.sellingPrice = sellingPrice;
128
	}
129
	public int getMop() {
130
		return mop;
131
	}
132
	public void setMop(int mop) {
133
		this.mop = mop;
134
	}
135
	public String getSerialNumber() {
136
		return serialNumber;
137
	}
138
	public void setSerialNumber(String serialNumber) {
139
		this.serialNumber = serialNumber;
140
	}
141
	public LocalDateTime getCreateDate() {
142
		return CreateDate;
143
	}
144
	public void setCreateDate(LocalDateTime createDate) {
145
		CreateDate = createDate;
146
	}
147
	public String getCustomerName() {
148
		return customerName;
149
	}
150
	public void setCustomerName(String customerName) {
151
		this.customerName = customerName;
152
	}
153
	public String getCustomerPhone() {
154
		return customerPhone;
155
	}
156
	public void setCustomerPhone(String customerPhone) {
157
		this.customerPhone = customerPhone;
158
	}
159
	public String getCustomerCity() {
160
		return customerCity;
161
	}
162
	public void setCustomerCity(String customerCity) {
163
		this.customerCity = customerCity;
164
	}
165
	public String getCustomerPincode() {
166
		return customerPincode;
167
	}
168
	public void setCustomerPincode(String customerPincode) {
169
		this.customerPincode = customerPincode;
170
	}
171
	public String getInvoiceNumber() {
172
		return invoiceNumber;
173
	}
174
	public void setInvoiceNumber(String invoiceNumber) {
175
		this.invoiceNumber = invoiceNumber;
176
	}
177
	public String getPurchaseReference() {
178
		return purchaseReference;
179
	}
180
	public void setPurchaseReference(String purchaseReference) {
181
		this.purchaseReference = purchaseReference;
182
	}
183
	public String getCustomerGstNumber() {
184
		return customerGstNumber;
185
	}
186
	public void setCustomerGstNumber(String customerGstNumber) {
187
		this.customerGstNumber = customerGstNumber;
188
	}
189
	public LocalDateTime getCancelledTimestamp() {
190
		return cancelledTimestamp;
191
	}
192
	public void setCancelledTimestamp(LocalDateTime cancelledTimestamp) {
193
		this.cancelledTimestamp = cancelledTimestamp;
194
	}
195
	public LocalDateTime getGrnCompleteDate() {
196
		return grnCompleteDate;
197
	}
198
	public void setGrnCompleteDate(LocalDateTime grnCompleteDate) {
199
		this.grnCompleteDate = grnCompleteDate;
200
	}
201
	public Boolean getHygieneRating() {
202
		return hygieneRating;
203
	}
204
	public void setHygieneRating(Boolean hygieneRating) {
205
		this.hygieneRating = hygieneRating;
206
	}
207
	public Integer getRating() {
208
		return rating;
209
	}
210
	public void setRating(Integer rating) {
211
		this.rating = rating;
212
	}
213
	public String getStatus() {
214
		return status;
215
	}
216
	public void setStatus(String status) {
217
		this.status = status;
218
	}
219
	public String getRemark() {
220
		return remark;
221
	}
222
	public void setRemark(String remark) {
223
		this.remark = remark;
224
	}
225
	public LocalDateTime getCreatedTimestamp() {
226
		return createdTimestamp;
227
	}
228
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
229
		this.createdTimestamp = createdTimestamp;
230
	}
231
	public LocalDateTime getDisposedTimestamp() {
232
		return disposedTimestamp;
233
	}
234
	public void setDisposedTimestamp(LocalDateTime disposedTimestamp) {
235
		this.disposedTimestamp = disposedTimestamp;
236
	}
237
	public LocalDateTime getNextTimestamp() {
238
		return nextTimestamp;
239
	}
240
	public void setNextTimestamp(LocalDateTime nextTimestamp) {
241
		this.nextTimestamp = nextTimestamp;
242
	}
243
	public LocalDateTime getActivationTimestamp() {
244
		return activationTimestamp;
245
	}
246
	public void setActivationTimestamp(LocalDateTime activationTimestamp) {
247
		this.activationTimestamp = activationTimestamp;
248
	}
249
	public LocalDateTime getCreateTimestamp() {
250
		return createTimestamp;
251
	}
252
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
253
		this.createTimestamp = createTimestamp;
254
	}
255
	public String getLabel() {
256
		return label;
257
	}
258
	public void setLabel(String label) {
259
		this.label = label;
260
	}
261
	@Override
262
	public int hashCode() {
263
		final int prime = 31;
264
		int result = 1;
265
		result = prime * result + ((CreateDate == null) ? 0 : CreateDate.hashCode());
266
		result = prime * result + ((activationTimestamp == null) ? 0 : activationTimestamp.hashCode());
267
		result = prime * result + ((brand == null) ? 0 : brand.hashCode());
268
		result = prime * result + ((cancelledTimestamp == null) ? 0 : cancelledTimestamp.hashCode());
269
		result = prime * result + ((city == null) ? 0 : city.hashCode());
270
		result = prime * result + ((code == null) ? 0 : code.hashCode());
271
		result = prime * result + ((color == null) ? 0 : color.hashCode());
272
		result = prime * result + ((createTimestamp == null) ? 0 : createTimestamp.hashCode());
273
		result = prime * result + ((createdTimestamp == null) ? 0 : createdTimestamp.hashCode());
274
		result = prime * result + ((customerCity == null) ? 0 : customerCity.hashCode());
275
		result = prime * result + ((customerGstNumber == null) ? 0 : customerGstNumber.hashCode());
276
		result = prime * result + ((customerName == null) ? 0 : customerName.hashCode());
277
		result = prime * result + ((customerPhone == null) ? 0 : customerPhone.hashCode());
278
		result = prime * result + ((customerPincode == null) ? 0 : customerPincode.hashCode());
279
		result = prime * result + ((disposedTimestamp == null) ? 0 : disposedTimestamp.hashCode());
280
		result = prime * result + dp;
281
		result = prime * result + ((grnCompleteDate == null) ? 0 : grnCompleteDate.hashCode());
282
		result = prime * result + ((hygieneRating == null) ? 0 : hygieneRating.hashCode());
283
		result = prime * result + ((invoiceNumber == null) ? 0 : invoiceNumber.hashCode());
284
		result = prime * result + itemId;
285
		result = prime * result + ((label == null) ? 0 : label.hashCode());
286
		result = prime * result + ((modelName == null) ? 0 : modelName.hashCode());
287
		result = prime * result + ((modelNumber == null) ? 0 : modelNumber.hashCode());
288
		result = prime * result + mop;
289
		result = prime * result + ((name == null) ? 0 : name.hashCode());
290
		result = prime * result + ((nextTimestamp == null) ? 0 : nextTimestamp.hashCode());
291
		result = prime * result + ((purchaseReference == null) ? 0 : purchaseReference.hashCode());
292
		result = prime * result + quantity;
293
		result = prime * result + rating;
294
		result = prime * result + ((region == null) ? 0 : region.hashCode());
295
		result = prime * result + ((remark == null) ? 0 : remark.hashCode());
296
		result = prime * result + sellingPrice;
297
		result = prime * result + ((serialNumber == null) ? 0 : serialNumber.hashCode());
298
		result = prime * result + ((state == null) ? 0 : state.hashCode());
299
		result = prime * result + ((status == null) ? 0 : status.hashCode());
300
		return result;
301
	}
302
	@Override
303
	public boolean equals(Object obj) {
304
		if (this == obj)
305
			return true;
306
		if (obj == null)
307
			return false;
308
		if (getClass() != obj.getClass())
309
			return false;
310
		FocoSaleReportModel other = (FocoSaleReportModel) obj;
311
		if (CreateDate == null) {
312
			if (other.CreateDate != null)
313
				return false;
314
		} else if (!CreateDate.equals(other.CreateDate))
315
			return false;
316
		if (activationTimestamp == null) {
317
			if (other.activationTimestamp != null)
318
				return false;
319
		} else if (!activationTimestamp.equals(other.activationTimestamp))
320
			return false;
321
		if (brand == null) {
322
			if (other.brand != null)
323
				return false;
324
		} else if (!brand.equals(other.brand))
325
			return false;
326
		if (cancelledTimestamp == null) {
327
			if (other.cancelledTimestamp != null)
328
				return false;
329
		} else if (!cancelledTimestamp.equals(other.cancelledTimestamp))
330
			return false;
331
		if (city == null) {
332
			if (other.city != null)
333
				return false;
334
		} else if (!city.equals(other.city))
335
			return false;
336
		if (code == null) {
337
			if (other.code != null)
338
				return false;
339
		} else if (!code.equals(other.code))
340
			return false;
341
		if (color == null) {
342
			if (other.color != null)
343
				return false;
344
		} else if (!color.equals(other.color))
345
			return false;
346
		if (createTimestamp == null) {
347
			if (other.createTimestamp != null)
348
				return false;
349
		} else if (!createTimestamp.equals(other.createTimestamp))
350
			return false;
351
		if (createdTimestamp == null) {
352
			if (other.createdTimestamp != null)
353
				return false;
354
		} else if (!createdTimestamp.equals(other.createdTimestamp))
355
			return false;
356
		if (customerCity == null) {
357
			if (other.customerCity != null)
358
				return false;
359
		} else if (!customerCity.equals(other.customerCity))
360
			return false;
361
		if (customerGstNumber == null) {
362
			if (other.customerGstNumber != null)
363
				return false;
364
		} else if (!customerGstNumber.equals(other.customerGstNumber))
365
			return false;
366
		if (customerName == null) {
367
			if (other.customerName != null)
368
				return false;
369
		} else if (!customerName.equals(other.customerName))
370
			return false;
371
		if (customerPhone == null) {
372
			if (other.customerPhone != null)
373
				return false;
374
		} else if (!customerPhone.equals(other.customerPhone))
375
			return false;
376
		if (customerPincode == null) {
377
			if (other.customerPincode != null)
378
				return false;
379
		} else if (!customerPincode.equals(other.customerPincode))
380
			return false;
381
		if (disposedTimestamp == null) {
382
			if (other.disposedTimestamp != null)
383
				return false;
384
		} else if (!disposedTimestamp.equals(other.disposedTimestamp))
385
			return false;
386
		if (dp != other.dp)
387
			return false;
388
		if (grnCompleteDate == null) {
389
			if (other.grnCompleteDate != null)
390
				return false;
391
		} else if (!grnCompleteDate.equals(other.grnCompleteDate))
392
			return false;
393
		if (hygieneRating == null) {
394
			if (other.hygieneRating != null)
395
				return false;
396
		} else if (!hygieneRating.equals(other.hygieneRating))
397
			return false;
398
		if (invoiceNumber == null) {
399
			if (other.invoiceNumber != null)
400
				return false;
401
		} else if (!invoiceNumber.equals(other.invoiceNumber))
402
			return false;
403
		if (itemId != other.itemId)
404
			return false;
405
		if (label == null) {
406
			if (other.label != null)
407
				return false;
408
		} else if (!label.equals(other.label))
409
			return false;
410
		if (modelName == null) {
411
			if (other.modelName != null)
412
				return false;
413
		} else if (!modelName.equals(other.modelName))
414
			return false;
415
		if (modelNumber == null) {
416
			if (other.modelNumber != null)
417
				return false;
418
		} else if (!modelNumber.equals(other.modelNumber))
419
			return false;
420
		if (mop != other.mop)
421
			return false;
422
		if (name == null) {
423
			if (other.name != null)
424
				return false;
425
		} else if (!name.equals(other.name))
426
			return false;
427
		if (nextTimestamp == null) {
428
			if (other.nextTimestamp != null)
429
				return false;
430
		} else if (!nextTimestamp.equals(other.nextTimestamp))
431
			return false;
432
		if (purchaseReference == null) {
433
			if (other.purchaseReference != null)
434
				return false;
435
		} else if (!purchaseReference.equals(other.purchaseReference))
436
			return false;
437
		if (quantity != other.quantity)
438
			return false;
439
		if (rating != other.rating)
440
			return false;
441
		if (region == null) {
442
			if (other.region != null)
443
				return false;
444
		} else if (!region.equals(other.region))
445
			return false;
446
		if (remark == null) {
447
			if (other.remark != null)
448
				return false;
449
		} else if (!remark.equals(other.remark))
450
			return false;
451
		if (sellingPrice != other.sellingPrice)
452
			return false;
453
		if (serialNumber == null) {
454
			if (other.serialNumber != null)
455
				return false;
456
		} else if (!serialNumber.equals(other.serialNumber))
457
			return false;
458
		if (state == null) {
459
			if (other.state != null)
460
				return false;
461
		} else if (!state.equals(other.state))
462
			return false;
463
		if (status == null) {
464
			if (other.status != null)
465
				return false;
466
		} else if (!status.equals(other.status))
467
			return false;
468
		return true;
469
	}
470
 
471
 
472
 
473
	@Override
474
	public String toString() {
475
		return "FocoSaleReportModel [code=" + code + ", name=" + name + ", city=" + city + ", state=" + state
476
				+ ", region=" + region + ", itemId=" + itemId + ", brand=" + brand + ", modelName=" + modelName
477
				+ ", model_number=" + modelNumber + ", color=" + color + ", quantity=" + quantity + ", dp=" + dp
478
				+ ", selling_price=" + sellingPrice + ", mop=" + mop + ", serialNumber=" + serialNumber
479
				+ ", CreateDate=" + CreateDate + ", customerName=" + customerName + ", customerPhone=" + customerPhone
480
				+ ", customerCity=" + customerCity + ", customerPincode=" + customerPincode + ", invoiceNumber="
481
				+ invoiceNumber + ", purchaseReference=" + purchaseReference + ", customerGstNumber="
482
				+ customerGstNumber + ", cancelledTimestamp=" + cancelledTimestamp + ", grnCompleteDate="
483
				+ grnCompleteDate + ", hygieneRating=" + hygieneRating + ", rating=" + rating + ", status=" + status
484
				+ ", remark=" + remark + ", createdTimestamp=" + createdTimestamp + ", disposedTimestamp="
485
				+ disposedTimestamp + ", nextTimestamp=" + nextTimestamp + ", activationTimestamp="
486
				+ activationTimestamp + ", createTimestamp=" + createTimestamp + ", label=" + label + "]";
487
	}
488
	public FocoSaleReportModel(String code, String name, String city, String state, String region, int itemId,
489
			String brand, String modelName, String model_number, String color, int quantity, int dp, int selling_price,
490
			int mop, String serialNumber, LocalDateTime createDate, String customerName, String customerPhone,
491
			String customerCity, String customerPincode, String invoiceNumber, String purchaseReference,
492
			String customerGstNumber, LocalDateTime cancelledTimestamp, LocalDateTime grnCompleteDate,
493
			Boolean hygieneRating, Integer rating, String status, String remark, LocalDateTime createdTimestamp,
494
			LocalDateTime disposedTimestamp, LocalDateTime nextTimestamp, LocalDateTime activationTimestamp,
495
			LocalDateTime createTimestamp, String label) {
496
		super();
497
		this.code = code;
498
		this.name = name;
499
		this.city = city;
500
		this.state = state;
501
		this.region = region;
502
		this.itemId = itemId;
503
		this.brand = brand;
504
		this.modelName = modelName;
505
		this.modelNumber = model_number;
506
		this.color = color;
507
		this.quantity = quantity;
508
		this.dp = dp;
509
		this.sellingPrice = selling_price;
510
		this.mop = mop;
511
		this.serialNumber = serialNumber;
512
		CreateDate = createDate;
513
		this.customerName = customerName;
514
		this.customerPhone = customerPhone;
515
		this.customerCity = customerCity;
516
		this.customerPincode = customerPincode;
517
		this.invoiceNumber = invoiceNumber;
518
		this.purchaseReference = purchaseReference;
519
		this.customerGstNumber = customerGstNumber;
520
		this.cancelledTimestamp = cancelledTimestamp;
521
		this.grnCompleteDate = grnCompleteDate;
522
		this.hygieneRating = hygieneRating;
523
		this.rating = rating;
524
		this.status = status;
525
		this.remark = remark;
526
		this.createdTimestamp = createdTimestamp;
527
		this.disposedTimestamp = disposedTimestamp;
528
		this.nextTimestamp = nextTimestamp;
529
		this.activationTimestamp = activationTimestamp;
530
		this.createTimestamp = createTimestamp;
531
		this.label = label;
532
	}
533
 
534
 
535
 
536
 
537
 
538
 
539
 
540
}