Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21545 ashik.ali 1
package com.spice.profitmandi.dao.entity;
2
 
3
import java.io.Serializable;
4
import java.time.LocalDateTime;
5
 
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
8
import javax.persistence.EnumType;
9
import javax.persistence.Enumerated;
10
import javax.persistence.GeneratedValue;
11
import javax.persistence.GenerationType;
12
import javax.persistence.Id;
13
import javax.persistence.NamedQueries;
14
import javax.persistence.NamedQuery;
15
import javax.persistence.Table;
16
 
17
import com.spice.profitmandi.dao.enumuration.DelayReason;
18
import com.spice.profitmandi.dao.enumuration.OrderStatus;
19
import com.spice.profitmandi.dao.enumuration.TaxType;
20
 
21
/**
22
 * This class basically contains order details
23
 * 
24
 * @author ashikali
25
 *
26
 */
27
@Entity
28
@Table(name="transaction.`order`", schema = "transaction")
29
@NamedQueries({
30
	@NamedQuery(name="Order.selectAll",query="select o from Order o"),
31
	@NamedQuery(name="Order.selectById",query="select o from Order o where o.id= :id"),
32
	@NamedQuery(name = "Order.selectCountByTransactionId", query = "select count(o) from Order o where o.transactionId = :transactionId"),
33
	@NamedQuery(
21573 ashik.ali 34
		name = "Order.selectByTransactionId", 
35
		query = "select t.id, t.createTimestamp, o.retailerAddress1, o.retailerAddress2, o.retailerCity, "
36
			+ "o.retailerPinCode, o.retailerState, o.shippingCost, o.statusDescription, o.invoiceNumber, o.airwayBillNumber, o.totalAmount, li.brand, li.modelName, "
37
			+ "li.modelNumber, li.color, li.quantity, li.unitPrice, p.id, p.name, o.shippingTimestamp, o.status from Transaction t join Order o on o.transactionId = t.id "
38
			+ "join LineItem li on li.orderId = o.id left join Provider p on p.id = o.logisticsProviderId where o.transactionId = :transactionId"),
39
	@NamedQuery(
40
		name = "Order.selectByAirwayBillNumber",
41
		query = "select li.itemId, li.brand, li.modelName, li.modelNumber, li.color, li.quantity, li.unitPrice, i.type from Order o join LineItem li on o.id = li.itemId join Item i on i.id = li.itemId where o.airwayBillNumber = :airwayBillNumber"),
42
	@NamedQuery(
43
		name = "Order.selectByInvoiceNumber",
44
		query = "select li.itemId, li.brand, li.modelName, li.modelNumber, li.color, li.quantity, li.unitPrice, i.type from Order o join LineItem li on o.id = li.itemId join Item i on i.id = li.itemId where o.invoiceNumber = :invoiceNumber")
21545 ashik.ali 45
})
46
public class Order implements Serializable{
47
 
48
	private static final long serialVersionUID = 1L;
49
 
50
	public Order() {
51
	}
52
 
53
	@Id
54
	@Column(name="id", unique=true, updatable=false)
55
	@GeneratedValue(strategy = GenerationType.IDENTITY)
56
	private int id;
57
 
58
	@Column(name = "warehouse_id")
59
	private int warehouseId;
60
 
61
	@Column(name = "seller_id")
62
	private int sellerId;
63
 
64
	@Column(name = "warehouse_address_id")
65
	private int warehouseAddressId;
66
 
67
	@Column(name = "logistics_provider_id")
68
	private int logisticsProviderId;
69
 
21573 ashik.ali 70
//	@Column(name = "airwaybill_no", length = 50)
21545 ashik.ali 71
	private String airwayBillNumber;
72
 
73
	@Column(name = "tracking_id", length = 50)
74
	private String trackingId;
75
 
76
	@Column(name = "expected_delivery_time")
77
	private LocalDateTime expectedDeliveryTime;
78
 
79
	@Column(name = "promised_delivery_time")
80
	private LocalDateTime promisedDeliveryTime;
81
 
82
	@Column(name = "expected_shipping_time")
83
	private LocalDateTime expectedShippingTime;
84
 
85
	@Column(name = "promised_shipping_time")
86
	private LocalDateTime promisedShippingTime;
87
 
88
	@Column(name = "customer_id")
89
	private int retailerId;
90
 
91
	@Column(name = "customer_name", length = 50)
92
	private String retailerName;
93
 
94
	@Column(name = "customer_mobilenumber", length = 20)
95
	private String retailerMobileNumber;
96
 
97
	@Column(name = "customer_pincode", length = 10)
98
	private String retailerPinCode;
99
 
100
	@Column(name = "customer_address1", length = 100)
101
	private String retailerAddress1;
102
 
103
	@Column(name = "customer_address2", length = 100)
104
	private String retailerAddress2;
105
 
106
	@Column(name = "customer_city", length = 100)
107
	private String retailerCity;
108
 
109
	@Column(name = "customer_state", length = 100)
110
	private String retailerState;
111
 
112
	@Column(name = "customer_email", length = 50)
113
	private String retailerEmailId;
114
 
115
	@Column(name = "status")
116
	@Enumerated(EnumType.ORDINAL)
117
	private OrderStatus status;
118
 
119
	@Column(name = "statusDescription", length = 50)
120
	private String statusDescription;
121
 
122
	@Column(name = "total_amount")
123
	private float totalAmount;
124
 
125
	@Column(name = "gvAmount")
126
	private float gvAmount;
127
 
128
	@Column(name = "total_weight")
129
	private float totalWeight;
130
 
131
	@Column(name = "invoice_number", length = 30)
132
	private String invoiceNumber;
133
 
134
	@Column(name = "billed_by", length = 30)
135
	private String billedBy;
136
 
137
	@Column(name = "created_timestamp")
138
	private LocalDateTime createTimestamp;
139
 
140
	@Column(name = "accepted_timestamp")
141
	private LocalDateTime acceptedTimestamp;
142
 
143
	@Column(name = "billing_timestamp")
144
	private LocalDateTime billingTimestamp;
145
 
146
	@Column(name = "shipping_timestamp")
147
	private LocalDateTime shippingTimestamp;
148
 
149
	@Column(name = "pickup_timestamp")
150
	private LocalDateTime pickupTimestamp;
151
 
152
	@Column(name = "delivery_timestamp")
153
	private LocalDateTime deliveryTimestamp;
154
 
155
	@Column(name = "outofstock_timestamp")
156
	private LocalDateTime outOfStockTimestamp;
157
 
158
	@Column(name = "transaction_id")
159
    private int transactionId;
160
 
161
	@Column(name = "jacket_number", length = 10)
162
	private int jacketNumber;
163
 
164
	@Column(name = "receiver", length = 50)
165
	private String receiver;
166
 
167
	@Column(name = "batchNo")
168
	private int batchNumber;
169
 
170
	@Column(name = "serialNo")
171
	private int serialNumber;
172
 
173
	@Column(name = "doaFlag", columnDefinition="tinyint(1) default 0")
174
	private boolean doaFlag;
175
 
176
	@Column(name = "pickupRequestNo")
177
	private int pickupRequestNumber;
178
 
179
	@Column(name = "new_order_id")
180
	private int newOrderId;
181
 
182
	@Column(name = "doa_auth_timestamp")
183
	private LocalDateTime doaAuthTimestamp;
184
 
185
	@Column(name = "doa_pickup_timestamp")
186
	private LocalDateTime doaPickupTimestamp;
187
 
188
	@Column(name = "received_return_timestamp")
189
	private LocalDateTime receiverReturnTimestamp;
190
 
191
	@Column(name = "reship_timestamp")
192
	private LocalDateTime reShipTimestamp;
193
 
194
	@Column(name = "refund_timestamp")
195
	private LocalDateTime refundTimestamp;
196
 
197
	@Column(name = "purchase_order_id")
198
	private int purchaseOrderId;
199
 
200
	@Column(name = "cod", columnDefinition="tinyint(1) default 0")
201
	private boolean cod;
202
 
203
	@Column(name = "verification_timestamp")
204
	private LocalDateTime verificationTimestamp;
205
 
206
	@Column(name = "refund_by", length = 30)
207
	private String refundBy;
208
 
209
	@Column(name = "refund_reason", length = 256)
210
	private String refundReason;
211
 
212
	@Column(name = "delay_reason")
213
	private DelayReason delayReason;
214
 
215
	@Column(name = "cod_reconciliation_timestamp")
216
	private LocalDateTime codReconciliationTimestamp;
217
 
218
	@Column(name = "previous_status")
219
	private int previousStatus;
220
 
221
 
222
	@Column(name = "vendorId")
223
	private int vendorId;
224
 
225
	@Column(name = "delayReasonText", length = 250)
226
	private String delayReasonText;
227
 
228
	@Column(name = "doa_logistics_provider_id")
229
	private int doaLogisticsProviderId;
230
 
231
	@Column(name = "vendor_paid", columnDefinition="tinyint(1) default 0")
232
	private boolean vendorPaid;
233
 
234
	@Column(name = "local_connected_timestamp")
235
	private LocalDateTime localConnectedTimestamp;
236
 
237
	@Column(name = "reached_destination_timestamp")
238
	private LocalDateTime reachedDestinationTimestamp;
239
 
240
	@Column(name = "first_dlvyatmp_timestamp")
241
	private LocalDateTime firstDlvyatmpTimestamp;
242
 
243
	@Column(name = "originalOrderId")
244
	private int originalOrderId;
245
 
246
	@Column(name = "fulfilmentWarehouseId")
247
	private int fulfilmentWarehouseId;
248
 
249
	@Column(name = "orderType")
250
	private int orderType;
251
 
252
	@Column(name = "pickupStoreId")
253
	private int pickupStoreId;
254
 
255
	@Column(name = "otg", columnDefinition="tinyint(1) default 0")
256
	private boolean otg;
257
 
258
	@Column(name = "courier_delivery_time")
259
	private LocalDateTime courierDeliveryTimestamp;
260
 
261
 
262
	@Column(name = "insurer")
263
	private int insurer;
264
 
265
	@Column(name = "insuranceAmount")
266
	private float insuranceAmount;
267
 
268
	@Column(name = "freebieItemId")
269
	private int freebieItemId;
270
 
271
	@Column(name = "source")
272
	private int source;
273
 
274
	@Column(name = "advanceAmount")
275
	private float advanceAmount;
276
 
277
	@Column(name = "storeId")
278
	private int storeId;
279
 
280
	@Column(name = "productCondition")
281
	private int productCondition;
282
 
283
 
284
	@Column(name = "dataProtectionInsurer")
285
	private int dataProtectionInsurer;
286
 
287
	@Column(name = "dataProtectionAmount")
288
	private int dataProtectionAmount;
289
 
290
	@Column(name = "taxType")
291
	@Enumerated(EnumType.STRING)
292
	private TaxType taxType;
293
 
294
	@Column(name = "logisticsTransactionId", length = 100)
295
	private String logisticsTransactionId;
296
 
297
	@Column(name = "shippingCost")
298
	private float shippingCost;
299
 
300
	@Column(name = "codCharges")
301
	private float codCharges;
302
 
303
	@Column(name = "wallet_amount")
304
	private float walletAmount;
305
 
306
	@Column(name = "net_payable_amount")
307
	private float netPayableAmount;
308
 
309
	@Column(name = "shippingRefund")
310
	private float shippingRefund;
311
 
312
	public int getId() {
313
		return id;
314
	}
315
	public void setId(int id) {
316
		this.id = id;
317
	}
318
	public int getWarehouseId() {
319
		return warehouseId;
320
	}
321
	public void setWarehouseId(int warehouseId) {
322
		this.warehouseId = warehouseId;
323
	}
324
	public int getSellerId() {
325
		return sellerId;
326
	}
327
	public void setSellerId(int sellerId) {
328
		this.sellerId = sellerId;
329
	}
330
	public int getWarehouseAddressId() {
331
		return warehouseAddressId;
332
	}
333
	public void setWarehouseAddressId(int warehouseAddressId) {
334
		this.warehouseAddressId = warehouseAddressId;
335
	}
336
	public int getLogisticsProviderId() {
337
		return logisticsProviderId;
338
	}
339
	public void setLogisticsProviderId(int logisticsProviderId) {
340
		this.logisticsProviderId = logisticsProviderId;
341
	}
342
	public String getAirwayBillNumber() {
343
		return airwayBillNumber;
344
	}
345
	public void setAirwayBillNumber(String airwayBillNumber) {
346
		this.airwayBillNumber = airwayBillNumber;
347
	}
348
	public String getTrackingId() {
349
		return trackingId;
350
	}
351
	public void setTrackingId(String trackingId) {
352
		this.trackingId = trackingId;
353
	}
354
	public LocalDateTime getExpectedDeliveryTime() {
355
		return expectedDeliveryTime;
356
	}
357
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
358
		this.expectedDeliveryTime = expectedDeliveryTime;
359
	}
360
	public LocalDateTime getPromisedDeliveryTime() {
361
		return promisedDeliveryTime;
362
	}
363
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
364
		this.promisedDeliveryTime = promisedDeliveryTime;
365
	}
366
	public LocalDateTime getExpectedShippingTime() {
367
		return expectedShippingTime;
368
	}
369
	public void setExpectedShippingTime(LocalDateTime expectedShippingTime) {
370
		this.expectedShippingTime = expectedShippingTime;
371
	}
372
	public LocalDateTime getPromisedShippingTime() {
373
		return promisedShippingTime;
374
	}
375
	public void setPromisedShippingTime(LocalDateTime promisedShippingTime) {
376
		this.promisedShippingTime = promisedShippingTime;
377
	}
378
	public int getRetailerId() {
379
		return retailerId;
380
	}
381
	public void setRetailerId(int retailerId) {
382
		this.retailerId = retailerId;
383
	}
384
	public String getRetailerName() {
385
		return retailerName;
386
	}
387
	public void setRetailerName(String retailerName) {
388
		this.retailerName = retailerName;
389
	}
390
	public String getRetailerMobileNumber() {
391
		return retailerMobileNumber;
392
	}
393
	public void setRetailerMobileNumber(String retailerMobileNumber) {
394
		this.retailerMobileNumber = retailerMobileNumber;
395
	}
396
	public String getRetailerPinCode() {
397
		return retailerPinCode;
398
	}
399
	public void setRetailerPinCode(String retailerPinCode) {
400
		this.retailerPinCode = retailerPinCode;
401
	}
402
	public String getRetailerAddress1() {
403
		return retailerAddress1;
404
	}
405
	public void setRetailerAddress1(String retailerAddress1) {
406
		this.retailerAddress1 = retailerAddress1;
407
	}
408
	public String getRetailerAddress2() {
409
		return retailerAddress2;
410
	}
411
	public void setRetailerAddress2(String retailerAddress2) {
412
		this.retailerAddress2 = retailerAddress2;
413
	}
414
	public String getRetailerCity() {
415
		return retailerCity;
416
	}
417
	public void setRetailerCity(String retailerCity) {
418
		this.retailerCity = retailerCity;
419
	}
420
	public String getRetailerState() {
421
		return retailerState;
422
	}
423
	public void setRetailerState(String retailerState) {
424
		this.retailerState = retailerState;
425
	}
426
	public String getRetailerEmailId() {
427
		return retailerEmailId;
428
	}
429
	public void setRetailerEmailId(String retailerEmailId) {
430
		this.retailerEmailId = retailerEmailId;
431
	}
432
	public OrderStatus getStatus() {
433
		return status;
434
	}
435
	public void setStatus(OrderStatus status) {
436
		this.status = status;
437
	}
438
	public String getStatusDescription() {
439
		return statusDescription;
440
	}
441
	public void setStatusDescription(String statusDescription) {
442
		this.statusDescription = statusDescription;
443
	}
444
	public float getTotalAmount() {
445
		return totalAmount;
446
	}
447
	public void setTotalAmount(float totalAmount) {
448
		this.totalAmount = totalAmount;
449
	}
450
	public float getGvAmount() {
451
		return gvAmount;
452
	}
453
	public void setGvAmount(float gvAmount) {
454
		this.gvAmount = gvAmount;
455
	}
456
	public float getTotalWeight() {
457
		return totalWeight;
458
	}
459
	public void setTotalWeight(float totalWeight) {
460
		this.totalWeight = totalWeight;
461
	}
462
	public String getInvoiceNumber() {
463
		return invoiceNumber;
464
	}
465
	public void setInvoiceNumber(String invoiceNumber) {
466
		this.invoiceNumber = invoiceNumber;
467
	}
468
	public String getBilledBy() {
469
		return billedBy;
470
	}
471
	public void setBilledBy(String billedBy) {
472
		this.billedBy = billedBy;
473
	}
474
	public LocalDateTime getCreateTimestamp() {
475
		return createTimestamp;
476
	}
477
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
478
		this.createTimestamp = createTimestamp;
479
	}
480
	public LocalDateTime getAcceptedTimestamp() {
481
		return acceptedTimestamp;
482
	}
483
	public void setAcceptedTimestamp(LocalDateTime acceptedTimestamp) {
484
		this.acceptedTimestamp = acceptedTimestamp;
485
	}
486
	public LocalDateTime getBillingTimestamp() {
487
		return billingTimestamp;
488
	}
489
	public void setBillingTimestamp(LocalDateTime billingTimestamp) {
490
		this.billingTimestamp = billingTimestamp;
491
	}
492
	public LocalDateTime getShippingTimestamp() {
493
		return shippingTimestamp;
494
	}
495
	public void setShippingTimestamp(LocalDateTime shippingTimestamp) {
496
		this.shippingTimestamp = shippingTimestamp;
497
	}
498
	public LocalDateTime getPickupTimestamp() {
499
		return pickupTimestamp;
500
	}
501
	public void setPickupTimestamp(LocalDateTime pickupTimestamp) {
502
		this.pickupTimestamp = pickupTimestamp;
503
	}
504
	public LocalDateTime getDeliveryTimestamp() {
505
		return deliveryTimestamp;
506
	}
507
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
508
		this.deliveryTimestamp = deliveryTimestamp;
509
	}
510
	public LocalDateTime getOutOfStockTimestamp() {
511
		return outOfStockTimestamp;
512
	}
513
	public void setOutOfStockTimestamp(LocalDateTime outOfStockTimestamp) {
514
		this.outOfStockTimestamp = outOfStockTimestamp;
515
	}
516
	public int getTransactionId() {
517
		return transactionId;
518
	}
519
	public void setTransactionId(int transactionId) {
520
		this.transactionId = transactionId;
521
	}
522
 
523
 
524
	public int getJacketNumber() {
525
		return jacketNumber;
526
	}
527
	public void setJacketNumber(int jacketNumber) {
528
		this.jacketNumber = jacketNumber;
529
	}
530
	public String getReceiver() {
531
		return receiver;
532
	}
533
	public void setReceiver(String receiver) {
534
		this.receiver = receiver;
535
	}
536
	public int getBatchNumber() {
537
		return batchNumber;
538
	}
539
	public void setBatchNumber(int batchNumber) {
540
		this.batchNumber = batchNumber;
541
	}
542
	public int getSerialNumber() {
543
		return serialNumber;
544
	}
545
	public void setSerialNumber(int serialNumber) {
546
		this.serialNumber = serialNumber;
547
	}
548
	public boolean isDoaFlag() {
549
		return doaFlag;
550
	}
551
	public void setDoaFlag(boolean doaFlag) {
552
		this.doaFlag = doaFlag;
553
	}
554
	public int getPickupRequestNumber() {
555
		return pickupRequestNumber;
556
	}
557
	public void setPickupRequestNumber(int pickupRequestNumber) {
558
		this.pickupRequestNumber = pickupRequestNumber;
559
	}
560
	public int getNewOrderId() {
561
		return newOrderId;
562
	}
563
	public void setNewOrderId(int newOrderId) {
564
		this.newOrderId = newOrderId;
565
	}
566
	public LocalDateTime getDoaAuthTimestamp() {
567
		return doaAuthTimestamp;
568
	}
569
	public void setDoaAuthTimestamp(LocalDateTime doaAuthTimestamp) {
570
		this.doaAuthTimestamp = doaAuthTimestamp;
571
	}
572
	public LocalDateTime getDoaPickupTimestamp() {
573
		return doaPickupTimestamp;
574
	}
575
	public void setDoaPickupTimestamp(LocalDateTime doaPickupTimestamp) {
576
		this.doaPickupTimestamp = doaPickupTimestamp;
577
	}
578
	public LocalDateTime getReceiverReturnTimestamp() {
579
		return receiverReturnTimestamp;
580
	}
581
	public void setReceiverReturnTimestamp(LocalDateTime receiverReturnTimestamp) {
582
		this.receiverReturnTimestamp = receiverReturnTimestamp;
583
	}
584
	public LocalDateTime getReShipTimestamp() {
585
		return reShipTimestamp;
586
	}
587
	public void setReShipTimestamp(LocalDateTime reShipTimestamp) {
588
		this.reShipTimestamp = reShipTimestamp;
589
	}
590
	public LocalDateTime getRefundTimestamp() {
591
		return refundTimestamp;
592
	}
593
	public void setRefundTimestamp(LocalDateTime refundTimestamp) {
594
		this.refundTimestamp = refundTimestamp;
595
	}
596
	public int getPurchaseOrderId() {
597
		return purchaseOrderId;
598
	}
599
	public void setPurchaseOrderId(int purchaseOrderId) {
600
		this.purchaseOrderId = purchaseOrderId;
601
	}
602
	public boolean isCod() {
603
		return cod;
604
	}
605
	public void setCod(boolean cod) {
606
		this.cod = cod;
607
	}
608
	public LocalDateTime getVerificationTimestamp() {
609
		return verificationTimestamp;
610
	}
611
	public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
612
		this.verificationTimestamp = verificationTimestamp;
613
	}
614
	public String getRefundBy() {
615
		return refundBy;
616
	}
617
	public void setRefundBy(String refundBy) {
618
		this.refundBy = refundBy;
619
	}
620
	public String getRefundReason() {
621
		return refundReason;
622
	}
623
	public void setRefundReason(String refundReason) {
624
		this.refundReason = refundReason;
625
	}
626
	public DelayReason getDelayReason() {
627
		return delayReason;
628
	}
629
	public void setDelayReason(DelayReason delayReason) {
630
		this.delayReason = delayReason;
631
	}
632
	public LocalDateTime getCodReconciliationTimestamp() {
633
		return codReconciliationTimestamp;
634
	}
635
	public void setCodReconciliationTimestamp(LocalDateTime codReconciliationTimestamp) {
636
		this.codReconciliationTimestamp = codReconciliationTimestamp;
637
	}
638
	public int getPreviousStatus() {
639
		return previousStatus;
640
	}
641
	public void setPreviousStatus(int previousStatus) {
642
		this.previousStatus = previousStatus;
643
	}
644
	public int getVendorId() {
645
		return vendorId;
646
	}
647
	public void setVendorId(int vendorId) {
648
		this.vendorId = vendorId;
649
	}
650
	public String getDelayReasonText() {
651
		return delayReasonText;
652
	}
653
	public void setDelayReasonText(String delayReasonText) {
654
		this.delayReasonText = delayReasonText;
655
	}
656
	public int getDoaLogisticsProviderId() {
657
		return doaLogisticsProviderId;
658
	}
659
	public void setDoaLogisticsProviderId(int doaLogisticsProviderId) {
660
		this.doaLogisticsProviderId = doaLogisticsProviderId;
661
	}
662
	public boolean isVendorPaid() {
663
		return vendorPaid;
664
	}
665
	public void setVendorPaid(boolean vendorPaid) {
666
		this.vendorPaid = vendorPaid;
667
	}
668
	public LocalDateTime getLocalConnectedTimestamp() {
669
		return localConnectedTimestamp;
670
	}
671
	public void setLocalConnectedTimestamp(LocalDateTime localConnectedTimestamp) {
672
		this.localConnectedTimestamp = localConnectedTimestamp;
673
	}
674
	public LocalDateTime getReachedDestinationTimestamp() {
675
		return reachedDestinationTimestamp;
676
	}
677
	public void setReachedDestinationTimestamp(LocalDateTime reachedDestinationTimestamp) {
678
		this.reachedDestinationTimestamp = reachedDestinationTimestamp;
679
	}
680
	public LocalDateTime getFirstDlvyatmpTimestamp() {
681
		return firstDlvyatmpTimestamp;
682
	}
683
	public void setFirstDlvyatmpTimestamp(LocalDateTime firstDlvyatmpTimestamp) {
684
		this.firstDlvyatmpTimestamp = firstDlvyatmpTimestamp;
685
	}
686
	public int getOriginalOrderId() {
687
		return originalOrderId;
688
	}
689
	public void setOriginalOrderId(int originalOrderId) {
690
		this.originalOrderId = originalOrderId;
691
	}
692
	public int getFulfilmentWarehouseId() {
693
		return fulfilmentWarehouseId;
694
	}
695
	public void setFulfilmentWarehouseId(int fulfilmentWarehouseId) {
696
		this.fulfilmentWarehouseId = fulfilmentWarehouseId;
697
	}
698
	public int getOrderType() {
699
		return orderType;
700
	}
701
	public void setOrderType(int orderType) {
702
		this.orderType = orderType;
703
	}
704
	public int getPickupStoreId() {
705
		return pickupStoreId;
706
	}
707
	public void setPickupStoreId(int pickupStoreId) {
708
		this.pickupStoreId = pickupStoreId;
709
	}
710
	public boolean isOtg() {
711
		return otg;
712
	}
713
	public void setOtg(boolean otg) {
714
		this.otg = otg;
715
	}
716
	public LocalDateTime getCourierDeliveryTimestamp() {
717
		return courierDeliveryTimestamp;
718
	}
719
	public void setCourierDeliveryTimestamp(LocalDateTime courierDeliveryTimestamp) {
720
		this.courierDeliveryTimestamp = courierDeliveryTimestamp;
721
	}
722
	public int getInsurer() {
723
		return insurer;
724
	}
725
	public void setInsurer(int insurer) {
726
		this.insurer = insurer;
727
	}
728
	public float getInsuranceAmount() {
729
		return insuranceAmount;
730
	}
731
	public void setInsuranceAmount(float insuranceAmount) {
732
		this.insuranceAmount = insuranceAmount;
733
	}
734
	public int getFreebieItemId() {
735
		return freebieItemId;
736
	}
737
	public void setFreebieItemId(int freebieItemId) {
738
		this.freebieItemId = freebieItemId;
739
	}
740
	public int getSource() {
741
		return source;
742
	}
743
	public void setSource(int source) {
744
		this.source = source;
745
	}
746
	public float getAdvanceAmount() {
747
		return advanceAmount;
748
	}
749
	public void setAdvanceAmount(float advanceAmount) {
750
		this.advanceAmount = advanceAmount;
751
	}
752
	public int getStoreId() {
753
		return storeId;
754
	}
755
	public void setStoreId(int storeId) {
756
		this.storeId = storeId;
757
	}
758
	public int getProductCondition() {
759
		return productCondition;
760
	}
761
	public void setProductCondition(int productCondition) {
762
		this.productCondition = productCondition;
763
	}
764
	public int getDataProtectionInsurer() {
765
		return dataProtectionInsurer;
766
	}
767
	public void setDataProtectionInsurer(int dataProtectionInsurer) {
768
		this.dataProtectionInsurer = dataProtectionInsurer;
769
	}
770
	public int getDataProtectionAmount() {
771
		return dataProtectionAmount;
772
	}
773
	public void setDataProtectionAmount(int dataProtectionAmount) {
774
		this.dataProtectionAmount = dataProtectionAmount;
775
	}
776
	public TaxType getTaxType() {
777
		return taxType;
778
	}
779
	public void setTaxType(TaxType taxType) {
780
		this.taxType = taxType;
781
	}
782
	public String getLogisticsTransactionId() {
783
		return logisticsTransactionId;
784
	}
785
	public void setLogisticsTransactionId(String logisticsTransactionId) {
786
		this.logisticsTransactionId = logisticsTransactionId;
787
	}
788
	public float getShippingCost() {
789
		return shippingCost;
790
	}
791
	public void setShippingCost(float shippingCost) {
792
		this.shippingCost = shippingCost;
793
	}
794
	public float getCodCharges() {
795
		return codCharges;
796
	}
797
	public void setCodCharges(float codCharges) {
798
		this.codCharges = codCharges;
799
	}
800
	public float getWalletAmount() {
801
		return walletAmount;
802
	}
803
	public void setWalletAmount(float walletAmount) {
804
		this.walletAmount = walletAmount;
805
	}
806
	public float getNetPayableAmount() {
807
		return netPayableAmount;
808
	}
809
	public void setNetPayableAmount(float netPayableAmount) {
810
		this.netPayableAmount = netPayableAmount;
811
	}
812
	public float getShippingRefund() {
813
		return shippingRefund;
814
	}
815
	public void setShippingRefund(float shippingRefund) {
816
		this.shippingRefund = shippingRefund;
817
	}
818
	@Override
819
	public String toString() {
820
		return "Order [id=" + id + ", warehouseId=" + warehouseId + ", sellerId=" + sellerId + ", warehouseAddressId="
821
				+ warehouseAddressId + ", logisticsProviderId=" + logisticsProviderId + ", airwayBillNumber="
822
				+ airwayBillNumber + ", trackingId=" + trackingId + ", expectedDeliveryTime=" + expectedDeliveryTime
823
				+ ", promisedDeliveryTime=" + promisedDeliveryTime + ", expectedShippingTime=" + expectedShippingTime
824
				+ ", promisedShippingTime=" + promisedShippingTime + ", retailerId=" + retailerId + ", retailerName="
825
				+ retailerName + ", retailerMobileNumber=" + retailerMobileNumber + ", retailerPinCode="
826
				+ retailerPinCode + ", retailerAddress1=" + retailerAddress1 + ", retailerAddress2=" + retailerAddress2
827
				+ ", retailerCity=" + retailerCity + ", retailerState=" + retailerState + ", retailerEmailId="
828
				+ retailerEmailId + ", status=" + status + ", statusDescription=" + statusDescription + ", totalAmount="
829
				+ totalAmount + ", gvAmount=" + gvAmount + ", totalWeight=" + totalWeight + ", invoiceNumber="
830
				+ invoiceNumber + ", billedBy=" + billedBy + ", createTimestamp=" + createTimestamp
831
				+ ", acceptedTimestamp=" + acceptedTimestamp + ", billingTimestamp=" + billingTimestamp
832
				+ ", shippingTimestamp=" + shippingTimestamp + ", pickupTimestamp=" + pickupTimestamp
833
				+ ", deliveryTimestamp=" + deliveryTimestamp + ", outOfStockTimestamp=" + outOfStockTimestamp
834
				+ ", jacketNumber=" + jacketNumber + ", receiver=" + receiver
835
				+ ", batchNumber=" + batchNumber + ", serialNumber=" + serialNumber + ", doaFlag=" + doaFlag
836
				+ ", pickupRequestNumber=" + pickupRequestNumber + ", newOrderId=" + newOrderId + ", doaAuthTimestamp="
837
				+ doaAuthTimestamp + ", doaPickupTimestamp=" + doaPickupTimestamp + ", receiverReturnTimestamp="
838
				+ receiverReturnTimestamp + ", reShipTimestamp=" + reShipTimestamp + ", refundTimestamp="
839
				+ refundTimestamp + ", purchaseOrderId=" + purchaseOrderId + ", cod=" + cod + ", verificationTimestamp="
840
				+ verificationTimestamp + ", refundBy=" + refundBy + ", refundReason=" + refundReason + ", delayReason="
841
				+ delayReason + ", codReconciliationTimestamp=" + codReconciliationTimestamp + ", previousStatus="
842
				+ previousStatus + ", vendorId=" + vendorId + ", delayReasonText=" + delayReasonText
843
				+ ", doaLogisticsProviderId=" + doaLogisticsProviderId + ", vendorPaid=" + vendorPaid
844
				+ ", localConnectedTimestamp=" + localConnectedTimestamp + ", reachedDestinationTimestamp="
845
				+ reachedDestinationTimestamp + ", firstDlvyatmpTimestamp=" + firstDlvyatmpTimestamp
846
				+ ", originalOrderId=" + originalOrderId + ", fulfilmentWarehouseId=" + fulfilmentWarehouseId
847
				+ ", orderType=" + orderType + ", pickupStoreId=" + pickupStoreId + ", otg=" + otg
848
				+ ", courierDeliveryTimestamp=" + courierDeliveryTimestamp + ", insurer=" + insurer
849
				+ ", insuranceAmount=" + insuranceAmount + ", freebieItemId=" + freebieItemId + ", source=" + source
850
				+ ", advanceAmount=" + advanceAmount + ", storeId=" + storeId + ", productCondition=" + productCondition
851
				+ ", dataProtectionInsurer=" + dataProtectionInsurer + ", dataProtectionAmount=" + dataProtectionAmount
852
				+ ", taxType=" + taxType + ", logisticsTransactionId=" + logisticsTransactionId + ", shippingCost="
853
				+ shippingCost + ", codCharges=" + codCharges + ", walletAmount=" + walletAmount + ", netPayableAmount="
854
				+ netPayableAmount + ", shippingRefund=" + shippingRefund + "]";
855
	}
856
 
857
 
858
 
859
 
860
}