| 21716 |
ashik.ali |
1 |
package com.spice.profitmandi.dao.entity.transaction;
|
| 21545 |
ashik.ali |
2 |
|
| 29966 |
amit.gupta |
3 |
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
|
| 30109 |
tejbeer |
4 |
import com.spice.profitmandi.dao.model.PartnerSecondaryPlanModel;
|
| 30161 |
manish |
5 |
import com.spice.profitmandi.dao.model.PriceDropReportModel;
|
| 29966 |
amit.gupta |
6 |
import in.shop2020.model.v1.order.OrderStatus;
|
|
|
7 |
import in.shop2020.model.v1.order.TaxType;
|
|
|
8 |
|
| 30220 |
amit.gupta |
9 |
import javax.persistence.*;
|
|
|
10 |
import java.io.Serializable;
|
|
|
11 |
import java.time.LocalDateTime;
|
|
|
12 |
import java.time.format.DateTimeFormatter;
|
| 31166 |
amit.gupta |
13 |
import java.util.List;
|
| 30220 |
amit.gupta |
14 |
|
| 21545 |
ashik.ali |
15 |
/**
|
|
|
16 |
* This class basically contains order details
|
| 29966 |
amit.gupta |
17 |
*
|
| 21545 |
ashik.ali |
18 |
* @author ashikali
|
|
|
19 |
*/
|
| 21634 |
ashik.ali |
20 |
|
| 21545 |
ashik.ali |
21 |
@Entity
|
| 27723 |
tejbeer |
22 |
@Table(name = "transaction.`order`", schema = "transaction")
|
| 31020 |
tejbeer |
23 |
@NamedQueries({ @NamedQuery(name = "Order.selectAll", query = "select o from Order o"),
|
| 27723 |
tejbeer |
24 |
@NamedQuery(name = "Order.selectById", query = "select o from Order o where o.id= :id"),
|
|
|
25 |
@NamedQuery(name = "Order.selectByTransactionId", query = "select t.id, t.createTimestamp, o.retailerAddress1, o.retailerAddress2, o.retailerCity, "
|
|
|
26 |
+ "o.retailerPinCode, o.retailerState, o.shippingCost, o.statusDescription, o.invoiceNumber, o.airwayBillNumber, o.totalAmount, li.brand, li.modelName, "
|
|
|
27 |
+ "li.modelNumber, li.color, li.quantity, li.unitPrice, p.id, p.name, o.shippingTimestamp, o.status, o.promisedDeliveryTime, o.retailerName, t.status, i.catalogItemId from Transaction t join Order o on o.transactionId = t.id "
|
|
|
28 |
+ "join LineItem li on li.orderId = o.id left join Provider p on p.id = o.logisticsProviderId join Item i on i.id=li.itemId where o.transactionId = :transactionId"),
|
|
|
29 |
|
|
|
30 |
@NamedQuery(name = "Order.selectItemIdTypeQuantity", query = "select new com.spice.profitmandi.dao.model.ItemIdTypeQuantity(li.itemId, i.type, li.quantity) from Order o join LineItem li on li.orderId = o.id join Item i on i.id = li.itemId where o.invoiceNumber = :invoiceNumber and o.retailerId = :retailerId"),
|
|
|
31 |
|
|
|
32 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderBillingModel(li.brand, "
|
| 30017 |
amit.gupta |
33 |
+ "sum(case when o.billingTimestamp >= :today then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
34 |
+ "sum(case when o.billingTimestamp >= :threedays and o.billingTimestamp < :endDate then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
35 |
+ "sum(case when concat(year(o.billingTimestamp ), month(o.billingTimestamp ))= :mtd then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
36 |
+ "sum(case when o.billingTimestamp between :lmtdStartDate and :lmtdEndDate then CAST(o.totalAmount AS integer) else 0 end),"
|
|
|
37 |
+ "sum(case when o.billingTimestamp between :lmtdStartDate and :lmsEndDate then CAST(o.totalAmount AS integer) else 0 end),"
|
| 27723 |
tejbeer |
38 |
+ " sum(case when o.billingTimestamp >= :today then li.quantity else 0 end),"
|
| 27726 |
tejbeer |
39 |
+ " sum(case when o.billingTimestamp >= :threedays and o.billingTimestamp < :endDate then li.quantity else 0 end),"
|
| 27723 |
tejbeer |
40 |
+ " sum(case when concat(year(o.billingTimestamp), month(o.billingTimestamp))= :mtd then li.quantity else 0 end),"
|
| 27749 |
tejbeer |
41 |
+ " sum(case when o.billingTimestamp between :lmtdStartDate and :lmtdEndDate then li.quantity else 0 end),"
|
|
|
42 |
+ " sum(case when o.billingTimestamp between :lmtdStartDate and :lmsEndDate then li.quantity else 0 end)"
|
|
|
43 |
+ " )"
|
| 27832 |
amit.gupta |
44 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
45 |
+ " and o.billingTimestamp >= :lmtdStartDate and fs.warehouseId in :warehouseId and fs.internal = 0 group by li.brand"),
|
| 27723 |
tejbeer |
46 |
|
| 28468 |
tejbeer |
47 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrandFofoId", query = "select new com.spice.profitmandi.dao.model.BrandWiseModel(li.brand,"
|
| 30017 |
amit.gupta |
48 |
+ " DATE_FORMAT(o.billingTimestamp, '%m-%Y'),sum(cast(o.totalAmount AS integer)))"
|
| 28439 |
tejbeer |
49 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 28468 |
tejbeer |
50 |
+ " and o.billingTimestamp >= :startDate and o.retailerId =:fofoId group by li.brand,DATE_FORMAT(o.billingTimestamp, '%m-%Y')"),
|
| 28439 |
tejbeer |
51 |
|
| 31361 |
amit.gupta |
52 |
@NamedQuery(name = "Order.selectSecondaryGroupByYearMonth", query = "select new com.spice.profitmandi.dao.model.PartnerMonthlySaleModel(o.retailerId,"
|
|
|
53 |
+ " DATE_FORMAT(o.billingTimestamp, '%m-%Y'),sum(cast(o.totalAmount AS integer)))"
|
|
|
54 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
|
|
55 |
+ " and o.billingTimestamp >= :startDate and o.retailerId in:fofoIds group by o.retailerId, DATE_FORMAT(o.billingTimestamp, '%m-%Y')"),
|
|
|
56 |
|
| 27867 |
tejbeer |
57 |
@NamedQuery(name = "Order.selectAllBilledOrderGroupByBrandWarehouse", query = "select new com.spice.profitmandi.dao.model.SecondaryWarehouseWiseOrderBilllingModel(fs.warehouseId,date(o.billingTimestamp), li.brand, "
|
| 30017 |
amit.gupta |
58 |
+ "sum(CAST(o.totalAmount AS integer)),sum( li.quantity))"
|
| 27867 |
tejbeer |
59 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
60 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp < :endDate and (null is :brand or li.brand = :brand) and fs.internal = 0 group by fs.warehouseId, date(o.billingTimestamp), li.brand"),
|
| 27867 |
tejbeer |
61 |
|
| 27749 |
tejbeer |
62 |
@NamedQuery(name = "Order.selectAllBilledOrderItemByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderItemBillingModel(o.retailerName,li.brand,i.modelName, "
|
| 27738 |
tejbeer |
63 |
+ " i.modelNumber, i.color," + "o.totalAmount," + " li.quantity)"
|
| 27832 |
amit.gupta |
64 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27903 |
tejbeer |
65 |
+ " and date(o.billingTimestamp) in :date and fs.warehouseId in :warehouseId and li.brand = :brand and fs.internal = 0 order by li.itemId desc"),
|
| 27738 |
tejbeer |
66 |
|
| 27749 |
tejbeer |
67 |
@NamedQuery(name = "Order.selectTodayBilledOrderItemByBrand", query = "select new com.spice.profitmandi.dao.model.SecondaryOrderItemBillingModel(o.retailerName,li.brand,i.modelName, "
|
| 27738 |
tejbeer |
68 |
+ " i.modelNumber, i.color," + "o.totalAmount," + " li.quantity)"
|
| 27832 |
amit.gupta |
69 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 27893 |
tejbeer |
70 |
+ " and o.billingTimestamp >= :startDate and fs.warehouseId in :warehouseId and li.brand in :brand order by li.itemId desc"),
|
| 27738 |
tejbeer |
71 |
|
| 27893 |
tejbeer |
72 |
@NamedQuery(name = "Order.selectAllBilledOrderBrandByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockBrandModel(li.brand,"
|
| 30017 |
amit.gupta |
73 |
+ " Sum(li.quantity),Sum(CAST(o.totalAmount AS integer)))"
|
| 27893 |
tejbeer |
74 |
+ " from Order o join LineItem li on o.id = li.orderId where o.status in (7,9,10,12)"
|
|
|
75 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp <= :endDate and o.retailerId = :fofoId group by li.brand"),
|
|
|
76 |
|
|
|
77 |
@NamedQuery(name = "Order.selectAllBilledOrderBrandItemByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockBrandItemModel("
|
| 30017 |
amit.gupta |
78 |
+ " i.brand, i.modelName, i.modelNumber, i.color,Sum(li.quantity), Sum(CAST(o.totalAmount AS integer)))"
|
| 27893 |
tejbeer |
79 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId where o.status in (7,9,10,12)"
|
|
|
80 |
+ " and o.billingTimestamp >= :startDate and o.billingTimestamp <= :endDate and o.retailerId = :fofoId group by i.id"),
|
|
|
81 |
|
| 28004 |
tejbeer |
82 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdQtyModel("
|
| 28020 |
tejbeer |
83 |
+ " fs.warehouseId,fs.id,sum(li.quantity )) from FofoStore fs join Order o on fs.id = o.retailerId "
|
| 28004 |
tejbeer |
84 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
85 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
86 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28020 |
tejbeer |
87 |
+ " and i.catalogItemId in :catalogItemId group by fs.id"),
|
| 28004 |
tejbeer |
88 |
|
|
|
89 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdQtyModel("
|
| 28020 |
tejbeer |
90 |
+ " fs.warehouseId,fs.id,sum(case when li.quantity is null then 0 else li.quantity end))"
|
| 28004 |
tejbeer |
91 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
92 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
93 |
+ " join Item i on i.id = tl.itemId where "
|
| 28020 |
tejbeer |
94 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId group by fs.id"),
|
| 28004 |
tejbeer |
95 |
|
| 28486 |
tejbeer |
96 |
@NamedQuery(name = "Order.selectGrnPendingOrdersByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdCatalogQtyModel("
|
| 28474 |
tejbeer |
97 |
+ " fs.warehouseId,fs.id,i.catalogItemId,sum(li.quantity )) from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
98 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
99 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
100 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28477 |
tejbeer |
101 |
+ " and i.catalogItemId in :catalogItemId and fs.warehouseId in :warehouseId group by i.catalogItemId, fs.id"),
|
| 28474 |
tejbeer |
102 |
|
| 28486 |
tejbeer |
103 |
@NamedQuery(name = "Order.selectPendingIndentOrdersByCatalogId", query = "select new com.spice.profitmandi.dao.model.FofoIdCatalogQtyModel("
|
| 28474 |
tejbeer |
104 |
+ " fs.warehouseId,fs.id,i.catalogItemId,sum(case when li.quantity is null then 0 else li.quantity end))"
|
|
|
105 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
106 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
107 |
+ " join Item i on i.id = tl.itemId where "
|
| 28477 |
tejbeer |
108 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId and fs.warehouseId in :warehouseId group by i.catalogItemId, fs.id"),
|
| 28474 |
tejbeer |
109 |
|
| 30673 |
amit.gupta |
110 |
@NamedQuery(name = "Order.selectFirstBilling", query = "select new com.spice.profitmandi.dao.model.FofoFirstBillingModel(fs.id, min(o.billingTimestamp) )"
|
| 31533 |
amit.gupta |
111 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId" + " where o.billingTimestamp > '2018-01-01' group by fs.id"),
|
| 30673 |
amit.gupta |
112 |
|
| 28004 |
tejbeer |
113 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderByRange", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
| 28020 |
tejbeer |
114 |
+ " fs.warehouseId,fs.id,sum(li.quantity ),i.brand,i.modelName,i.modelNumber,i.catalogItemId) from FofoStore fs join Order o on fs.id = o.retailerId "
|
| 28004 |
tejbeer |
115 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
116 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
117 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28004 |
tejbeer |
118 |
+ " and tl.mop between :startPrice and :endPrice and i.categoryId=10006 group by fs.id,i.catalogItemId,i.brand,i.modelName,i.modelNumber"),
|
|
|
119 |
|
|
|
120 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderByRange", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
| 28020 |
tejbeer |
121 |
+ " fs.warehouseId, fs.id,sum(case when li.quantity is null then 0 else li.quantity end),i.brand,i.modelName,i.modelNumber,i.catalogItemId)"
|
| 28004 |
tejbeer |
122 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
123 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
124 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
125 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and tl.mop between :startPrice and :endPrice and i.categoryId=10006 group by fs.id,i.catalogItemId,i.brand,i.modelName,i.modelNumber"),
|
|
|
126 |
|
| 28032 |
tejbeer |
127 |
@NamedQuery(name = "Order.selectAllGrnPendingOrderItemByCatalogIdFofoId", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
|
|
128 |
+ " fs.warehouseId, fs.id, sum(li.quantity), i.brand, i.modelName, i.modelNumber, i.catalogItemId) from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
129 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
| 30017 |
amit.gupta |
130 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = true and fs.internal = 0 and"
|
| 29715 |
tejbeer |
131 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28032 |
tejbeer |
132 |
+ " and i.catalogItemId in :catalogItemId and i.categoryId=10006 and fs.id = :fofoId group by i.catalogItemId, i.brand,i.modelName,i.modelNumber"),
|
|
|
133 |
|
|
|
134 |
@NamedQuery(name = "Order.selectAllPendingIndentOrderItemByCatalogIdFofoId", query = "select new com.spice.profitmandi.dao.model.FofoIdItemDetailModel("
|
|
|
135 |
+ " fs.warehouseId, fs.id, sum(li.quantity), i.brand, i.modelName, i.modelNumber, i.catalogItemId)"
|
|
|
136 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
137 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
138 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
139 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4) and i.catalogItemId in :catalogItemId and i.categoryId=10006 and fs.id = :fofoId group by i.catalogItemId, i.brand,i.modelName,i.modelNumber"),
|
|
|
140 |
|
| 28461 |
tejbeer |
141 |
@NamedQuery(name = "Order.selectGroupByBrandLmp", query = "select new com.spice.profitmandi.dao.model.BrandWiseModel(li.brand,"
|
| 30279 |
tejbeer |
142 |
+ " DATE_FORMAT(o.billingTimestamp,:groupParameter ),sum(cast(o.totalAmount AS integer)))"
|
| 28461 |
tejbeer |
143 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId where o.status in (7,9,10,12)"
|
| 30279 |
tejbeer |
144 |
+ " and (o.billingTimestamp between :lmsStartDate and :endDate) and fs.id in :fofoId and fs.warehouseId in :warehouseId and fs.internal = 0 group by li.brand,DATE_FORMAT(o.billingTimestamp, :groupParameter)"),
|
| 28461 |
tejbeer |
145 |
|
| 28486 |
tejbeer |
146 |
@NamedQuery(name = "Order.selectGrnPendingOrderQtyByCatalogId", query = "select sum(case when li.quantity is null then 0 else li.quantity end)"
|
|
|
147 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId "
|
|
|
148 |
+ " join LineItem li on o.id = li.orderId join TagListing tl on tl.itemId = li.itemId "
|
|
|
149 |
+ " join Item i on (i.id = tl.itemId ) where " + " fs.active = 1 and fs.internal = 0 and"
|
| 29715 |
tejbeer |
150 |
+ " o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null"
|
| 28486 |
tejbeer |
151 |
+ " and i.catalogItemId = :catalogItemId and fs.id = :fofoId group by i.catalogItemId, fs.id"),
|
|
|
152 |
|
|
|
153 |
@NamedQuery(name = "Order.selectPendingIndentOrderQtyByCatalogId", query = "select sum(case when li.quantity is null then 0 else li.quantity end)"
|
|
|
154 |
+ " from FofoStore fs join Order o on fs.id = o.retailerId"
|
|
|
155 |
+ " join LineItem li on o.id = li.orderId " + " join TagListing tl on tl.itemId = li.itemId "
|
|
|
156 |
+ " join Item i on i.id = tl.itemId where "
|
|
|
157 |
+ " fs.active = 1 and fs.internal = 0 and o.status in (3,4)and i.catalogItemId = :catalogItemId and fs.id = :fofoId group by i.catalogItemId, fs.id"),
|
|
|
158 |
|
| 30687 |
amit.gupta |
159 |
@NamedQuery(name = "Order.selectTodayOrders", query = "select new com.spice.profitmandi.dao.model.BrandRegionPOModel("
|
|
|
160 |
+ " case when (pr.regionId is not null) then pr.regionId else fs.warehouseId end , li.brand, "
|
| 30017 |
amit.gupta |
161 |
+ " sum(case when (o.createTimestamp between :startDate and :endDate) then cast(o.totalAmount AS integer ) else 0 end),"
|
|
|
162 |
+ " sum(case when (o.billingTimestamp is not null and (o.createTimestamp between :startDate and :endDate)) then cast(o.totalAmount AS integer) else 0 end),"
|
|
|
163 |
+ " sum(case when o.billingTimestamp is not null then cast(o.totalAmount AS integer ) else 0 end))"
|
| 30687 |
amit.gupta |
164 |
+ " from Order o join LineItem li on o.id = li.orderId join FofoStore fs on fs.id = o.retailerId"
|
| 30689 |
amit.gupta |
165 |
+ " left join PartnerRegion pr on pr.fofoId=o.retailerId and pr.regionId=18"
|
| 29966 |
amit.gupta |
166 |
+ " where o.refundTimestamp is null and ((o.createTimestamp between :startDate and :endDate) or (o.billingTimestamp between :startDate and :endDate)) and fs.internal = 0 and li.brand not in ('Smartdukaan','Dummy')"
|
| 30687 |
amit.gupta |
167 |
+ " group by case when (pr.regionId is not null) then pr.regionId else fs.warehouseId end, li.brand"),
|
| 29966 |
amit.gupta |
168 |
|
| 30003 |
tejbeer |
169 |
@NamedQuery(name = "Order.selectAllPendingIndentAccessoriesTvGroupByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockAccessoriesTvFofoIdModel("
|
| 30017 |
amit.gupta |
170 |
+ " o.retailerId, SUM(case when c.parentCategoryId = 10011 then CAST(o.totalAmount AS integer) else 0 end), SUM(case when c.parentCategoryId = 14200 then CAST(o.totalAmount AS integer) else 0 end))"
|
| 30003 |
tejbeer |
171 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join Category c on c.id = i.categoryId "
|
|
|
172 |
+ " where o.retailerId in :fofoIds and o.status in (3,4) and i.categoryId != 10006 group by o.retailerId"),
|
|
|
173 |
|
|
|
174 |
@NamedQuery(name = "Order.selectAllGrnPendingAccessoriesTvGroupByFofoId", query = "select new com.spice.profitmandi.dao.model.InStockAccessoriesTvFofoIdModel("
|
| 30017 |
amit.gupta |
175 |
+ " o.retailerId, SUM(case when c.parentCategoryId = 10011 then CAST(o.totalAmount AS integer) else 0 end), SUM(case when c.parentCategoryId = 14200 then CAST(o.totalAmount AS integer) else 0 end))"
|
| 30003 |
tejbeer |
176 |
+ " from Order o join LineItem li on o.id = li.orderId join Item i on i.id = li.itemId join Category c on c.id = i.categoryId "
|
|
|
177 |
+ " where o.retailerId in :fofoIds and o.billingTimestamp is not null and o.refundTimestamp is null and o.partnerGrnTimestamp is null and i.categoryId != 10006 group by o.retailerId"),
|
|
|
178 |
|
| 30161 |
manish |
179 |
@NamedQuery(name = "Order.selectCollectionSummary", query = "select new com.spice.profitmandi.dao.model.CollectionSummary(pot.createTimestamp, "
|
|
|
180 |
+ " pot.referenceType,sum(case when po.name = 'CASH' then cast(pot.amount As int) else 0 end),"
|
|
|
181 |
+ " sum(case when po.name = 'PINELABS' then cast(pot.amount As int) else 0 end),"
|
|
|
182 |
+ " sum(case when po.name = 'BAJAJ FINSERV' then cast(pot.amount As int) else 0 end),"
|
|
|
183 |
+ " sum(case when po.name = 'HOME CREDIT' then cast(pot.amount As int) else 0 end),"
|
|
|
184 |
+ " sum(case when po.name = 'PAYTM' then cast(pot.amount As int) else 0 end),"
|
|
|
185 |
+ " sum(case when po.name = 'CAPITAL FIRST' then cast(pot.amount As int) else 0 end),"
|
|
|
186 |
+ " sum(case when po.name = 'ZEST MONEY' then cast(pot.amount As int) else 0 end),"
|
|
|
187 |
+ " sum(case when po.name = 'SAMSUNG SURE' then cast(pot.amount As int) else 0 end),sum(cast(pot.amount As int)))"
|
|
|
188 |
+ " from PaymentOptionTransaction pot join PaymentOption po on pot.paymentOptionId=po.id join com.spice.profitmandi.dao.entity.user.User u on u.id=pot.fofoId"
|
|
|
189 |
+ " join Address a on a.id=u.addressId where 1=1 and pot.fofoId = :fofoId and pot.createTimestamp between :startDate and :endDate "
|
|
|
190 |
+ " group by (pot.createTimestamp), pot.referenceType "),
|
| 30279 |
tejbeer |
191 |
|
| 21545 |
ashik.ali |
192 |
})
|
| 30110 |
tejbeer |
193 |
//@NamedNativeQuery(name = "Order.findByEmailAddress", query = "select * from transaction.`order` o where o.id = '1694173'", resultClass = Order.class)
|
|
|
194 |
|
| 30161 |
manish |
195 |
@NamedNativeQueries({
|
| 30110 |
tejbeer |
196 |
|
| 30279 |
tejbeer |
197 |
@NamedNativeQuery(name = "selectPartnerSecondaryGroupByBrand", query = "select ifnull(a.customer_id,fs.id) as id,ifnull(a.sb,brand) as brand,a.secondary_plan,sum(a.total_price) as total_price,a.auth_id, a.commited_timestamp from "
|
|
|
198 |
+ "fofo.fofo_store fs left join (select o.customer_id , li.brand as sb, li.total_price, psp.fofo_id , psp.brand, psp.secondary_plan,psp.auth_id,psp.commited_timestamp from transaction.`order` o join transaction.lineitem li on "
|
|
|
199 |
+ "(o.id = li.order_id) left join auth.partner_secondary_plan psp on (psp.fofo_id = o.customer_id and date(psp.commited_timestamp) >= :startDate and "
|
|
|
200 |
+ "psp.active = 1 and psp.brand = li.brand ) where o.customer_id in :fofoIds and o.status in (7,9,10,12) and date(o.billing_timestamp) = :startDate"
|
|
|
201 |
+ " union select if(li.brand is null, null, o.customer_id) as customer_id, li.brand as sb, li.total_price, psp.fofo_id , psp.brand, psp.secondary_plan,psp.auth_id, psp.commited_timestamp "
|
|
|
202 |
+ " from auth.partner_secondary_plan psp left join transaction.`order` o on (psp.fofo_id = o.customer_id and o.status in (7,9,10,12) and date(o.billing_timestamp) = :startDate) "
|
|
|
203 |
+ "left join transaction.lineitem li on (o.id = li.order_id and psp.brand=li.brand) where psp.fofo_id in :fofoIds and date(psp.commited_timestamp) >= :startDate "
|
|
|
204 |
+ "and psp.active = 1) a on fs.id = a.customer_id or fs.id = a.fofo_id where fs.id in :fofoIds group by id,brand;", resultSetMapping = "partnerSecondaryPlanModel"),
|
| 30161 |
manish |
205 |
|
| 30279 |
tejbeer |
206 |
@NamedNativeQuery(name = "selectPriceDropReport", query = "select fs.code, pd.id, ci.brand,ci.model_name,"
|
|
|
207 |
+ " ci.model_number,pd.affected_on, pd.amount, pd.partner_payout, pdi.imei, pdi.status, pdi.update_timestamp, pdi.rejection_reason"
|
|
|
208 |
+ " from transaction.price_drop pd join transaction.price_drop_imei pdi on pdi.price_drop_id = pd.id join (select catalog_item_id, brand, model_name, model_number from catalog.item group by catalog_item_id )"
|
|
|
209 |
+ " ci on ci.catalog_item_id=pd.catalog_id join fofo.fofo_store fs on fs.id=pdi.retailer_id where pdi.retailer_id = :fofoId and pd.affected_on between :startDate and :endDate and pd.amount > 0;", resultSetMapping = "PriceDropReportModel")
|
|
|
210 |
|
| 30161 |
manish |
211 |
})
|
|
|
212 |
|
| 30279 |
tejbeer |
213 |
@SqlResultSetMappings({
|
| 30161 |
manish |
214 |
|
| 30279 |
tejbeer |
215 |
@SqlResultSetMapping(name = "partnerSecondaryPlanModel", classes = {
|
|
|
216 |
@ConstructorResult(targetClass = PartnerSecondaryPlanModel.class, columns = {
|
| 31020 |
tejbeer |
217 |
@ColumnResult(name = "id", type = Integer.class),
|
|
|
218 |
@ColumnResult(name = "brand", type = String.class),
|
| 30279 |
tejbeer |
219 |
@ColumnResult(name = "secondary_plan", type = Long.class),
|
|
|
220 |
@ColumnResult(name = "total_price", type = Long.class),
|
|
|
221 |
@ColumnResult(name = "auth_id", type = Integer.class),
|
| 31020 |
tejbeer |
222 |
@ColumnResult(name = "commited_timestamp", type = LocalDateTime.class) }) }),
|
| 30279 |
tejbeer |
223 |
|
|
|
224 |
@SqlResultSetMapping(name = "PriceDropReportModel", classes = {
|
|
|
225 |
@ConstructorResult(targetClass = PriceDropReportModel.class, columns = {
|
|
|
226 |
@ColumnResult(name = "code", type = String.class),
|
|
|
227 |
@ColumnResult(name = "id", type = Integer.class),
|
|
|
228 |
@ColumnResult(name = "brand", type = String.class),
|
|
|
229 |
@ColumnResult(name = "model_name", type = String.class),
|
|
|
230 |
@ColumnResult(name = "model_number", type = String.class),
|
|
|
231 |
@ColumnResult(name = "affected_on", type = LocalDateTime.class),
|
|
|
232 |
@ColumnResult(name = "amount", type = Float.class),
|
|
|
233 |
@ColumnResult(name = "partner_payout", type = Float.class),
|
|
|
234 |
@ColumnResult(name = "imei", type = String.class),
|
|
|
235 |
@ColumnResult(name = "status", type = String.class),
|
|
|
236 |
@ColumnResult(name = "update_timestamp", type = LocalDateTime.class),
|
| 31020 |
tejbeer |
237 |
@ColumnResult(name = "rejection_reason", type = String.class), }) })
|
| 30279 |
tejbeer |
238 |
|
| 30161 |
manish |
239 |
})
|
|
|
240 |
|
| 27723 |
tejbeer |
241 |
public class Order implements Serializable {
|
|
|
242 |
|
| 21545 |
ashik.ali |
243 |
private static final long serialVersionUID = 1L;
|
| 27723 |
tejbeer |
244 |
|
| 21545 |
ashik.ali |
245 |
public Order() {
|
|
|
246 |
}
|
| 27723 |
tejbeer |
247 |
|
| 21545 |
ashik.ali |
248 |
@Id
|
| 27723 |
tejbeer |
249 |
@Column(name = "id", unique = true, updatable = false)
|
| 21545 |
ashik.ali |
250 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
| 21629 |
kshitij.so |
251 |
private Integer id;
|
| 27723 |
tejbeer |
252 |
|
| 21545 |
ashik.ali |
253 |
@Column(name = "warehouse_id")
|
| 21629 |
kshitij.so |
254 |
private Integer warehouseId;
|
| 27723 |
tejbeer |
255 |
|
| 21545 |
ashik.ali |
256 |
@Column(name = "seller_id")
|
| 21629 |
kshitij.so |
257 |
private Integer sellerId;
|
| 27723 |
tejbeer |
258 |
|
| 21545 |
ashik.ali |
259 |
@Column(name = "warehouse_address_id")
|
| 21629 |
kshitij.so |
260 |
private Integer warehouseAddressId;
|
| 27723 |
tejbeer |
261 |
|
| 21545 |
ashik.ali |
262 |
@Column(name = "logistics_provider_id")
|
| 21629 |
kshitij.so |
263 |
private Integer logisticsProviderId;
|
| 27723 |
tejbeer |
264 |
|
| 21614 |
kshitij.so |
265 |
@Column(name = "airwaybill_no", length = 50)
|
| 21545 |
ashik.ali |
266 |
private String airwayBillNumber;
|
| 27723 |
tejbeer |
267 |
|
| 21545 |
ashik.ali |
268 |
@Column(name = "tracking_id", length = 50)
|
|
|
269 |
private String trackingId;
|
| 27723 |
tejbeer |
270 |
|
| 22009 |
ashik.ali |
271 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
272 |
@Column(name = "expected_delivery_time")
|
|
|
273 |
private LocalDateTime expectedDeliveryTime;
|
| 27723 |
tejbeer |
274 |
|
| 22009 |
ashik.ali |
275 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
276 |
@Column(name = "promised_delivery_time")
|
|
|
277 |
private LocalDateTime promisedDeliveryTime;
|
| 27723 |
tejbeer |
278 |
|
| 22009 |
ashik.ali |
279 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
280 |
@Column(name = "expected_shipping_time")
|
|
|
281 |
private LocalDateTime expectedShippingTime;
|
| 27723 |
tejbeer |
282 |
|
| 22009 |
ashik.ali |
283 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
284 |
@Column(name = "promised_shipping_time")
|
|
|
285 |
private LocalDateTime promisedShippingTime;
|
| 27723 |
tejbeer |
286 |
|
| 23884 |
amit.gupta |
287 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
|
|
288 |
@Column(name = "partner_grn_timestamp")
|
|
|
289 |
private LocalDateTime partnerGrnTimestamp;
|
| 27723 |
tejbeer |
290 |
|
| 23902 |
amit.gupta |
291 |
public LocalDateTime getPartnerGrnTimestamp() {
|
| 23884 |
amit.gupta |
292 |
return partnerGrnTimestamp;
|
|
|
293 |
}
|
| 27723 |
tejbeer |
294 |
|
| 23902 |
amit.gupta |
295 |
public void setPartnerGrnTimestamp(LocalDateTime partnerGrnTimestamp) {
|
| 23884 |
amit.gupta |
296 |
this.partnerGrnTimestamp = partnerGrnTimestamp;
|
|
|
297 |
}
|
|
|
298 |
|
| 31166 |
amit.gupta |
299 |
|
|
|
300 |
@Transient
|
|
|
301 |
private List<String> returnedImeis;
|
|
|
302 |
|
|
|
303 |
public List<String> getReturnedImeis() {
|
|
|
304 |
return returnedImeis;
|
|
|
305 |
}
|
|
|
306 |
|
|
|
307 |
public void setReturnedImeis(List<String> returnedImeis) {
|
|
|
308 |
this.returnedImeis = returnedImeis;
|
|
|
309 |
}
|
|
|
310 |
|
| 21545 |
ashik.ali |
311 |
@Column(name = "customer_id")
|
| 21629 |
kshitij.so |
312 |
private Integer retailerId;
|
| 27723 |
tejbeer |
313 |
|
| 21545 |
ashik.ali |
314 |
@Column(name = "customer_name", length = 50)
|
|
|
315 |
private String retailerName;
|
| 27723 |
tejbeer |
316 |
|
| 21545 |
ashik.ali |
317 |
@Column(name = "customer_mobilenumber", length = 20)
|
|
|
318 |
private String retailerMobileNumber;
|
| 27723 |
tejbeer |
319 |
|
| 21545 |
ashik.ali |
320 |
@Column(name = "customer_pincode", length = 10)
|
|
|
321 |
private String retailerPinCode;
|
| 27723 |
tejbeer |
322 |
|
| 21545 |
ashik.ali |
323 |
@Column(name = "customer_address1", length = 100)
|
|
|
324 |
private String retailerAddress1;
|
| 27723 |
tejbeer |
325 |
|
| 21545 |
ashik.ali |
326 |
@Column(name = "customer_address2", length = 100)
|
|
|
327 |
private String retailerAddress2;
|
| 27723 |
tejbeer |
328 |
|
| 21545 |
ashik.ali |
329 |
@Column(name = "customer_city", length = 100)
|
|
|
330 |
private String retailerCity;
|
| 27723 |
tejbeer |
331 |
|
| 21545 |
ashik.ali |
332 |
@Column(name = "customer_state", length = 100)
|
|
|
333 |
private String retailerState;
|
| 27723 |
tejbeer |
334 |
|
| 21545 |
ashik.ali |
335 |
@Column(name = "customer_email", length = 50)
|
|
|
336 |
private String retailerEmailId;
|
| 27723 |
tejbeer |
337 |
|
| 21545 |
ashik.ali |
338 |
@Column(name = "status")
|
|
|
339 |
@Enumerated(EnumType.ORDINAL)
|
|
|
340 |
private OrderStatus status;
|
| 27723 |
tejbeer |
341 |
|
| 21545 |
ashik.ali |
342 |
@Column(name = "statusDescription", length = 50)
|
|
|
343 |
private String statusDescription;
|
| 27723 |
tejbeer |
344 |
|
| 21545 |
ashik.ali |
345 |
@Column(name = "total_amount")
|
| 21629 |
kshitij.so |
346 |
private Float totalAmount;
|
| 27723 |
tejbeer |
347 |
|
| 21545 |
ashik.ali |
348 |
@Column(name = "gvAmount")
|
| 21629 |
kshitij.so |
349 |
private Float gvAmount;
|
| 27723 |
tejbeer |
350 |
|
| 21545 |
ashik.ali |
351 |
@Column(name = "total_weight")
|
| 21629 |
kshitij.so |
352 |
private Float totalWeight;
|
| 27723 |
tejbeer |
353 |
|
| 21545 |
ashik.ali |
354 |
@Column(name = "invoice_number", length = 30)
|
|
|
355 |
private String invoiceNumber;
|
| 27723 |
tejbeer |
356 |
|
| 21545 |
ashik.ali |
357 |
@Column(name = "billed_by", length = 30)
|
|
|
358 |
private String billedBy;
|
| 27723 |
tejbeer |
359 |
|
| 22009 |
ashik.ali |
360 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
361 |
@Column(name = "created_timestamp")
|
|
|
362 |
private LocalDateTime createTimestamp;
|
| 27723 |
tejbeer |
363 |
|
| 22009 |
ashik.ali |
364 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
365 |
@Column(name = "accepted_timestamp")
|
|
|
366 |
private LocalDateTime acceptedTimestamp;
|
| 27723 |
tejbeer |
367 |
|
| 22009 |
ashik.ali |
368 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
369 |
@Column(name = "billing_timestamp")
|
|
|
370 |
private LocalDateTime billingTimestamp;
|
| 27723 |
tejbeer |
371 |
|
| 22009 |
ashik.ali |
372 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
373 |
@Column(name = "shipping_timestamp")
|
|
|
374 |
private LocalDateTime shippingTimestamp;
|
| 27723 |
tejbeer |
375 |
|
| 22009 |
ashik.ali |
376 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
377 |
@Column(name = "pickup_timestamp")
|
|
|
378 |
private LocalDateTime pickupTimestamp;
|
| 27723 |
tejbeer |
379 |
|
| 22009 |
ashik.ali |
380 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
381 |
@Column(name = "delivery_timestamp")
|
|
|
382 |
private LocalDateTime deliveryTimestamp;
|
| 27723 |
tejbeer |
383 |
|
| 22009 |
ashik.ali |
384 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
385 |
@Column(name = "outofstock_timestamp")
|
|
|
386 |
private LocalDateTime outOfStockTimestamp;
|
| 27723 |
tejbeer |
387 |
|
| 21545 |
ashik.ali |
388 |
@Column(name = "transaction_id")
|
| 27723 |
tejbeer |
389 |
private Integer transactionId;
|
|
|
390 |
|
|
|
391 |
/*
|
|
|
392 |
* @Column(name = "jacket_number", length = 10) private Integer jacketNumber;
|
|
|
393 |
*/
|
|
|
394 |
|
| 21545 |
ashik.ali |
395 |
@Column(name = "receiver", length = 50)
|
|
|
396 |
private String receiver;
|
| 27723 |
tejbeer |
397 |
|
| 21545 |
ashik.ali |
398 |
@Column(name = "batchNo")
|
| 21629 |
kshitij.so |
399 |
private Integer batchNumber;
|
| 27723 |
tejbeer |
400 |
|
| 21545 |
ashik.ali |
401 |
@Column(name = "serialNo")
|
| 21629 |
kshitij.so |
402 |
private Integer serialNumber;
|
| 27723 |
tejbeer |
403 |
|
|
|
404 |
@Column(name = "doaFlag", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
405 |
private Boolean doaFlag;
|
| 27723 |
tejbeer |
406 |
|
| 21545 |
ashik.ali |
407 |
@Column(name = "pickupRequestNo")
|
| 21629 |
kshitij.so |
408 |
private Integer pickupRequestNumber;
|
| 27723 |
tejbeer |
409 |
|
| 21545 |
ashik.ali |
410 |
@Column(name = "new_order_id")
|
| 21629 |
kshitij.so |
411 |
private Integer newOrderId;
|
| 27723 |
tejbeer |
412 |
|
| 21545 |
ashik.ali |
413 |
@Column(name = "doa_auth_timestamp")
|
|
|
414 |
private LocalDateTime doaAuthTimestamp;
|
| 27723 |
tejbeer |
415 |
|
| 22009 |
ashik.ali |
416 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
417 |
@Column(name = "doa_pickup_timestamp")
|
|
|
418 |
private LocalDateTime doaPickupTimestamp;
|
| 27723 |
tejbeer |
419 |
|
| 22009 |
ashik.ali |
420 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
421 |
@Column(name = "received_return_timestamp")
|
|
|
422 |
private LocalDateTime receiverReturnTimestamp;
|
| 27723 |
tejbeer |
423 |
|
| 22009 |
ashik.ali |
424 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
425 |
@Column(name = "reship_timestamp")
|
|
|
426 |
private LocalDateTime reShipTimestamp;
|
| 27723 |
tejbeer |
427 |
|
| 22009 |
ashik.ali |
428 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
429 |
@Column(name = "refund_timestamp")
|
|
|
430 |
private LocalDateTime refundTimestamp;
|
| 27723 |
tejbeer |
431 |
|
| 21545 |
ashik.ali |
432 |
@Column(name = "purchase_order_id")
|
| 21629 |
kshitij.so |
433 |
private Integer purchaseOrderId;
|
| 27723 |
tejbeer |
434 |
|
|
|
435 |
@Column(name = "cod", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
436 |
private Boolean cod;
|
| 27723 |
tejbeer |
437 |
|
| 22009 |
ashik.ali |
438 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
439 |
@Column(name = "verification_timestamp")
|
|
|
440 |
private LocalDateTime verificationTimestamp;
|
| 27723 |
tejbeer |
441 |
|
| 21629 |
kshitij.so |
442 |
@Column(name = "refunded_by", length = 30)
|
| 21545 |
ashik.ali |
443 |
private String refundBy;
|
| 27723 |
tejbeer |
444 |
|
| 21545 |
ashik.ali |
445 |
@Column(name = "refund_reason", length = 256)
|
|
|
446 |
private String refundReason;
|
| 27723 |
tejbeer |
447 |
|
|
|
448 |
/*
|
|
|
449 |
* @Column(name = "delay_reason") private DelayReason delayReason;
|
|
|
450 |
*/
|
|
|
451 |
|
| 22009 |
ashik.ali |
452 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
453 |
@Column(name = "cod_reconciliation_timestamp")
|
|
|
454 |
private LocalDateTime codReconciliationTimestamp;
|
| 27723 |
tejbeer |
455 |
|
| 21629 |
kshitij.so |
456 |
private Integer previousStatus;
|
| 27723 |
tejbeer |
457 |
|
| 21545 |
ashik.ali |
458 |
@Column(name = "vendorId")
|
| 21629 |
kshitij.so |
459 |
private Integer vendorId;
|
| 27723 |
tejbeer |
460 |
|
| 21545 |
ashik.ali |
461 |
@Column(name = "delayReasonText", length = 250)
|
|
|
462 |
private String delayReasonText;
|
| 27723 |
tejbeer |
463 |
|
| 21545 |
ashik.ali |
464 |
@Column(name = "doa_logistics_provider_id")
|
| 21629 |
kshitij.so |
465 |
private Integer doaLogisticsProviderId;
|
| 27723 |
tejbeer |
466 |
|
|
|
467 |
@Column(name = "vendor_paid", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
468 |
private Boolean vendorPaid;
|
| 27723 |
tejbeer |
469 |
|
| 22009 |
ashik.ali |
470 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
471 |
@Column(name = "local_connected_timestamp")
|
|
|
472 |
private LocalDateTime localConnectedTimestamp;
|
| 27723 |
tejbeer |
473 |
|
| 22009 |
ashik.ali |
474 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
475 |
@Column(name = "reached_destination_timestamp")
|
|
|
476 |
private LocalDateTime reachedDestinationTimestamp;
|
| 27723 |
tejbeer |
477 |
|
| 22009 |
ashik.ali |
478 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
479 |
@Column(name = "first_dlvyatmp_timestamp")
|
|
|
480 |
private LocalDateTime firstDlvyatmpTimestamp;
|
| 27723 |
tejbeer |
481 |
|
| 21545 |
ashik.ali |
482 |
@Column(name = "originalOrderId")
|
| 21629 |
kshitij.so |
483 |
private Integer originalOrderId;
|
| 27723 |
tejbeer |
484 |
|
| 21545 |
ashik.ali |
485 |
@Column(name = "fulfilmentWarehouseId")
|
| 21629 |
kshitij.so |
486 |
private Integer fulfilmentWarehouseId;
|
| 27723 |
tejbeer |
487 |
|
| 21545 |
ashik.ali |
488 |
@Column(name = "orderType")
|
| 21629 |
kshitij.so |
489 |
private Integer orderType;
|
| 27723 |
tejbeer |
490 |
|
| 21545 |
ashik.ali |
491 |
@Column(name = "pickupStoreId")
|
| 21629 |
kshitij.so |
492 |
private Integer pickupStoreId;
|
| 27723 |
tejbeer |
493 |
|
|
|
494 |
@Column(name = "otg", columnDefinition = "tinyInteger(1) default 0")
|
| 21629 |
kshitij.so |
495 |
private Boolean otg;
|
| 27723 |
tejbeer |
496 |
|
| 22009 |
ashik.ali |
497 |
@Convert(converter = LocalDateTimeAttributeConverter.class)
|
| 21545 |
ashik.ali |
498 |
@Column(name = "courier_delivery_time")
|
|
|
499 |
private LocalDateTime courierDeliveryTimestamp;
|
| 27723 |
tejbeer |
500 |
|
| 21545 |
ashik.ali |
501 |
@Column(name = "insurer")
|
| 21629 |
kshitij.so |
502 |
private Integer insurer;
|
| 27723 |
tejbeer |
503 |
|
| 21545 |
ashik.ali |
504 |
@Column(name = "insuranceAmount")
|
| 21629 |
kshitij.so |
505 |
private Float insuranceAmount;
|
| 27723 |
tejbeer |
506 |
|
| 21545 |
ashik.ali |
507 |
@Column(name = "freebieItemId")
|
| 21629 |
kshitij.so |
508 |
private Integer freebieItemId;
|
| 27723 |
tejbeer |
509 |
|
| 21545 |
ashik.ali |
510 |
@Column(name = "source")
|
| 21629 |
kshitij.so |
511 |
private Integer source;
|
| 27723 |
tejbeer |
512 |
|
| 21545 |
ashik.ali |
513 |
@Column(name = "advanceAmount")
|
| 21629 |
kshitij.so |
514 |
private Float advanceAmount;
|
| 27723 |
tejbeer |
515 |
|
| 21545 |
ashik.ali |
516 |
@Column(name = "storeId")
|
| 21629 |
kshitij.so |
517 |
private Integer storeId;
|
| 27723 |
tejbeer |
518 |
|
| 21545 |
ashik.ali |
519 |
@Column(name = "productCondition")
|
| 21629 |
kshitij.so |
520 |
private Integer productCondition;
|
| 27723 |
tejbeer |
521 |
|
| 21545 |
ashik.ali |
522 |
@Column(name = "dataProtectionInsurer")
|
| 21629 |
kshitij.so |
523 |
private Integer dataProtectionInsurer;
|
| 27723 |
tejbeer |
524 |
|
| 21545 |
ashik.ali |
525 |
@Column(name = "dataProtectionAmount")
|
| 21629 |
kshitij.so |
526 |
private Integer dataProtectionAmount;
|
| 27723 |
tejbeer |
527 |
|
| 21545 |
ashik.ali |
528 |
@Column(name = "taxType")
|
| 21629 |
kshitij.so |
529 |
@Enumerated(EnumType.ORDINAL)
|
| 21545 |
ashik.ali |
530 |
private TaxType taxType;
|
| 27723 |
tejbeer |
531 |
|
| 21545 |
ashik.ali |
532 |
@Column(name = "logisticsTransactionId", length = 100)
|
|
|
533 |
private String logisticsTransactionId;
|
| 27723 |
tejbeer |
534 |
|
| 21545 |
ashik.ali |
535 |
@Column(name = "shippingCost")
|
| 21629 |
kshitij.so |
536 |
private Float shippingCost;
|
| 27723 |
tejbeer |
537 |
|
| 21545 |
ashik.ali |
538 |
@Column(name = "codCharges")
|
| 21629 |
kshitij.so |
539 |
private Float codCharges;
|
| 27723 |
tejbeer |
540 |
|
| 21545 |
ashik.ali |
541 |
@Column(name = "wallet_amount")
|
| 21629 |
kshitij.so |
542 |
private Float walletAmount;
|
| 27723 |
tejbeer |
543 |
|
| 21545 |
ashik.ali |
544 |
@Column(name = "net_payable_amount")
|
| 21629 |
kshitij.so |
545 |
private Float netPayableAmount;
|
| 27723 |
tejbeer |
546 |
|
| 21545 |
ashik.ali |
547 |
@Column(name = "shippingRefund")
|
| 21629 |
kshitij.so |
548 |
private Float shippingRefund;
|
| 27723 |
tejbeer |
549 |
|
| 30289 |
amit.gupta |
550 |
@Column(name = "irn_generated")
|
| 30321 |
amit.gupta |
551 |
private Boolean irnGenerated;
|
| 30289 |
amit.gupta |
552 |
|
| 31020 |
tejbeer |
553 |
@Column(name = "shipment_hold")
|
|
|
554 |
private Boolean shipmentHold;
|
|
|
555 |
|
| 27723 |
tejbeer |
556 |
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
|
| 28677 |
amit.gupta |
557 |
@JoinColumn(name = "id", insertable = false, updatable = false, nullable = false, referencedColumnName = "order_id")
|
| 21653 |
ashik.ali |
558 |
private LineItem lineItem;
|
| 27723 |
tejbeer |
559 |
|
| 21629 |
kshitij.so |
560 |
public Integer getId() {
|
| 21545 |
ashik.ali |
561 |
return id;
|
|
|
562 |
}
|
| 27723 |
tejbeer |
563 |
|
| 21629 |
kshitij.so |
564 |
public void setId(Integer id) {
|
| 21545 |
ashik.ali |
565 |
this.id = id;
|
|
|
566 |
}
|
| 27723 |
tejbeer |
567 |
|
| 21629 |
kshitij.so |
568 |
public Integer getWarehouseId() {
|
| 21545 |
ashik.ali |
569 |
return warehouseId;
|
|
|
570 |
}
|
| 27723 |
tejbeer |
571 |
|
| 21629 |
kshitij.so |
572 |
public void setWarehouseId(Integer warehouseId) {
|
| 21545 |
ashik.ali |
573 |
this.warehouseId = warehouseId;
|
|
|
574 |
}
|
| 27723 |
tejbeer |
575 |
|
| 21629 |
kshitij.so |
576 |
public Integer getSellerId() {
|
| 21545 |
ashik.ali |
577 |
return sellerId;
|
|
|
578 |
}
|
| 27723 |
tejbeer |
579 |
|
| 21629 |
kshitij.so |
580 |
public void setSellerId(Integer sellerId) {
|
| 21545 |
ashik.ali |
581 |
this.sellerId = sellerId;
|
|
|
582 |
}
|
| 27723 |
tejbeer |
583 |
|
| 21629 |
kshitij.so |
584 |
public Integer getWarehouseAddressId() {
|
| 21545 |
ashik.ali |
585 |
return warehouseAddressId;
|
|
|
586 |
}
|
| 27723 |
tejbeer |
587 |
|
| 21629 |
kshitij.so |
588 |
public void setWarehouseAddressId(Integer warehouseAddressId) {
|
| 21545 |
ashik.ali |
589 |
this.warehouseAddressId = warehouseAddressId;
|
|
|
590 |
}
|
| 27723 |
tejbeer |
591 |
|
| 21629 |
kshitij.so |
592 |
public Integer getLogisticsProviderId() {
|
| 21545 |
ashik.ali |
593 |
return logisticsProviderId;
|
|
|
594 |
}
|
| 27723 |
tejbeer |
595 |
|
| 21629 |
kshitij.so |
596 |
public void setLogisticsProviderId(Integer logisticsProviderId) {
|
| 21545 |
ashik.ali |
597 |
this.logisticsProviderId = logisticsProviderId;
|
|
|
598 |
}
|
| 27723 |
tejbeer |
599 |
|
| 21545 |
ashik.ali |
600 |
public String getAirwayBillNumber() {
|
|
|
601 |
return airwayBillNumber;
|
|
|
602 |
}
|
| 27723 |
tejbeer |
603 |
|
| 21545 |
ashik.ali |
604 |
public void setAirwayBillNumber(String airwayBillNumber) {
|
|
|
605 |
this.airwayBillNumber = airwayBillNumber;
|
|
|
606 |
}
|
| 27723 |
tejbeer |
607 |
|
| 21545 |
ashik.ali |
608 |
public String getTrackingId() {
|
|
|
609 |
return trackingId;
|
|
|
610 |
}
|
| 27723 |
tejbeer |
611 |
|
| 21545 |
ashik.ali |
612 |
public void setTrackingId(String trackingId) {
|
|
|
613 |
this.trackingId = trackingId;
|
|
|
614 |
}
|
| 27723 |
tejbeer |
615 |
|
| 21545 |
ashik.ali |
616 |
public LocalDateTime getExpectedDeliveryTime() {
|
|
|
617 |
return expectedDeliveryTime;
|
|
|
618 |
}
|
| 27723 |
tejbeer |
619 |
|
| 21545 |
ashik.ali |
620 |
public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
|
|
|
621 |
this.expectedDeliveryTime = expectedDeliveryTime;
|
|
|
622 |
}
|
| 27723 |
tejbeer |
623 |
|
| 21545 |
ashik.ali |
624 |
public LocalDateTime getPromisedDeliveryTime() {
|
|
|
625 |
return promisedDeliveryTime;
|
|
|
626 |
}
|
| 27723 |
tejbeer |
627 |
|
| 21545 |
ashik.ali |
628 |
public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
|
|
|
629 |
this.promisedDeliveryTime = promisedDeliveryTime;
|
|
|
630 |
}
|
| 27723 |
tejbeer |
631 |
|
| 21545 |
ashik.ali |
632 |
public LocalDateTime getExpectedShippingTime() {
|
|
|
633 |
return expectedShippingTime;
|
|
|
634 |
}
|
| 27723 |
tejbeer |
635 |
|
| 21545 |
ashik.ali |
636 |
public void setExpectedShippingTime(LocalDateTime expectedShippingTime) {
|
|
|
637 |
this.expectedShippingTime = expectedShippingTime;
|
|
|
638 |
}
|
| 27723 |
tejbeer |
639 |
|
| 21545 |
ashik.ali |
640 |
public LocalDateTime getPromisedShippingTime() {
|
|
|
641 |
return promisedShippingTime;
|
|
|
642 |
}
|
| 27723 |
tejbeer |
643 |
|
| 21545 |
ashik.ali |
644 |
public void setPromisedShippingTime(LocalDateTime promisedShippingTime) {
|
|
|
645 |
this.promisedShippingTime = promisedShippingTime;
|
|
|
646 |
}
|
| 27723 |
tejbeer |
647 |
|
| 21629 |
kshitij.so |
648 |
public Integer getRetailerId() {
|
| 21545 |
ashik.ali |
649 |
return retailerId;
|
|
|
650 |
}
|
| 27723 |
tejbeer |
651 |
|
| 21629 |
kshitij.so |
652 |
public void setRetailerId(Integer retailerId) {
|
| 21545 |
ashik.ali |
653 |
this.retailerId = retailerId;
|
|
|
654 |
}
|
| 27723 |
tejbeer |
655 |
|
| 21545 |
ashik.ali |
656 |
public String getRetailerName() {
|
|
|
657 |
return retailerName;
|
|
|
658 |
}
|
| 27723 |
tejbeer |
659 |
|
| 21545 |
ashik.ali |
660 |
public void setRetailerName(String retailerName) {
|
|
|
661 |
this.retailerName = retailerName;
|
|
|
662 |
}
|
| 27723 |
tejbeer |
663 |
|
| 21545 |
ashik.ali |
664 |
public String getRetailerMobileNumber() {
|
|
|
665 |
return retailerMobileNumber;
|
|
|
666 |
}
|
| 27723 |
tejbeer |
667 |
|
| 21545 |
ashik.ali |
668 |
public void setRetailerMobileNumber(String retailerMobileNumber) {
|
|
|
669 |
this.retailerMobileNumber = retailerMobileNumber;
|
|
|
670 |
}
|
| 27723 |
tejbeer |
671 |
|
| 21545 |
ashik.ali |
672 |
public String getRetailerPinCode() {
|
|
|
673 |
return retailerPinCode;
|
|
|
674 |
}
|
| 27723 |
tejbeer |
675 |
|
| 21545 |
ashik.ali |
676 |
public void setRetailerPinCode(String retailerPinCode) {
|
|
|
677 |
this.retailerPinCode = retailerPinCode;
|
|
|
678 |
}
|
| 27723 |
tejbeer |
679 |
|
| 21545 |
ashik.ali |
680 |
public String getRetailerAddress1() {
|
|
|
681 |
return retailerAddress1;
|
|
|
682 |
}
|
| 27723 |
tejbeer |
683 |
|
| 21545 |
ashik.ali |
684 |
public void setRetailerAddress1(String retailerAddress1) {
|
|
|
685 |
this.retailerAddress1 = retailerAddress1;
|
|
|
686 |
}
|
| 27723 |
tejbeer |
687 |
|
| 21545 |
ashik.ali |
688 |
public String getRetailerAddress2() {
|
|
|
689 |
return retailerAddress2;
|
|
|
690 |
}
|
| 27723 |
tejbeer |
691 |
|
| 21545 |
ashik.ali |
692 |
public void setRetailerAddress2(String retailerAddress2) {
|
|
|
693 |
this.retailerAddress2 = retailerAddress2;
|
|
|
694 |
}
|
| 27723 |
tejbeer |
695 |
|
| 21545 |
ashik.ali |
696 |
public String getRetailerCity() {
|
|
|
697 |
return retailerCity;
|
|
|
698 |
}
|
| 27723 |
tejbeer |
699 |
|
| 21545 |
ashik.ali |
700 |
public void setRetailerCity(String retailerCity) {
|
|
|
701 |
this.retailerCity = retailerCity;
|
|
|
702 |
}
|
| 27723 |
tejbeer |
703 |
|
| 21545 |
ashik.ali |
704 |
public String getRetailerState() {
|
|
|
705 |
return retailerState;
|
|
|
706 |
}
|
| 27723 |
tejbeer |
707 |
|
| 21545 |
ashik.ali |
708 |
public void setRetailerState(String retailerState) {
|
|
|
709 |
this.retailerState = retailerState;
|
|
|
710 |
}
|
| 27723 |
tejbeer |
711 |
|
| 21545 |
ashik.ali |
712 |
public String getRetailerEmailId() {
|
|
|
713 |
return retailerEmailId;
|
|
|
714 |
}
|
| 27723 |
tejbeer |
715 |
|
| 21545 |
ashik.ali |
716 |
public void setRetailerEmailId(String retailerEmailId) {
|
|
|
717 |
this.retailerEmailId = retailerEmailId;
|
|
|
718 |
}
|
| 27723 |
tejbeer |
719 |
|
| 21545 |
ashik.ali |
720 |
public OrderStatus getStatus() {
|
|
|
721 |
return status;
|
|
|
722 |
}
|
| 27723 |
tejbeer |
723 |
|
| 21545 |
ashik.ali |
724 |
public void setStatus(OrderStatus status) {
|
|
|
725 |
this.status = status;
|
|
|
726 |
}
|
| 27723 |
tejbeer |
727 |
|
| 21545 |
ashik.ali |
728 |
public String getStatusDescription() {
|
|
|
729 |
return statusDescription;
|
|
|
730 |
}
|
| 27723 |
tejbeer |
731 |
|
| 21545 |
ashik.ali |
732 |
public void setStatusDescription(String statusDescription) {
|
|
|
733 |
this.statusDescription = statusDescription;
|
|
|
734 |
}
|
| 27723 |
tejbeer |
735 |
|
| 21629 |
kshitij.so |
736 |
public Float getTotalAmount() {
|
| 21545 |
ashik.ali |
737 |
return totalAmount;
|
|
|
738 |
}
|
| 27723 |
tejbeer |
739 |
|
| 21629 |
kshitij.so |
740 |
public void setTotalAmount(Float totalAmount) {
|
| 21545 |
ashik.ali |
741 |
this.totalAmount = totalAmount;
|
|
|
742 |
}
|
| 27723 |
tejbeer |
743 |
|
| 21629 |
kshitij.so |
744 |
public Float getGvAmount() {
|
| 21545 |
ashik.ali |
745 |
return gvAmount;
|
|
|
746 |
}
|
| 27723 |
tejbeer |
747 |
|
| 21629 |
kshitij.so |
748 |
public void setGvAmount(Float gvAmount) {
|
| 21545 |
ashik.ali |
749 |
this.gvAmount = gvAmount;
|
|
|
750 |
}
|
| 27723 |
tejbeer |
751 |
|
| 21629 |
kshitij.so |
752 |
public Float getTotalWeight() {
|
| 21545 |
ashik.ali |
753 |
return totalWeight;
|
|
|
754 |
}
|
| 27723 |
tejbeer |
755 |
|
| 21629 |
kshitij.so |
756 |
public void setTotalWeight(Float totalWeight) {
|
| 21545 |
ashik.ali |
757 |
this.totalWeight = totalWeight;
|
|
|
758 |
}
|
| 27723 |
tejbeer |
759 |
|
| 21545 |
ashik.ali |
760 |
public String getInvoiceNumber() {
|
|
|
761 |
return invoiceNumber;
|
|
|
762 |
}
|
| 27723 |
tejbeer |
763 |
|
| 21545 |
ashik.ali |
764 |
public void setInvoiceNumber(String invoiceNumber) {
|
|
|
765 |
this.invoiceNumber = invoiceNumber;
|
|
|
766 |
}
|
| 27723 |
tejbeer |
767 |
|
| 21545 |
ashik.ali |
768 |
public String getBilledBy() {
|
|
|
769 |
return billedBy;
|
|
|
770 |
}
|
| 27723 |
tejbeer |
771 |
|
| 21545 |
ashik.ali |
772 |
public void setBilledBy(String billedBy) {
|
|
|
773 |
this.billedBy = billedBy;
|
|
|
774 |
}
|
| 27723 |
tejbeer |
775 |
|
| 21545 |
ashik.ali |
776 |
public LocalDateTime getCreateTimestamp() {
|
|
|
777 |
return createTimestamp;
|
|
|
778 |
}
|
| 27723 |
tejbeer |
779 |
|
| 21545 |
ashik.ali |
780 |
public void setCreateTimestamp(LocalDateTime createTimestamp) {
|
|
|
781 |
this.createTimestamp = createTimestamp;
|
|
|
782 |
}
|
| 27723 |
tejbeer |
783 |
|
| 21545 |
ashik.ali |
784 |
public LocalDateTime getAcceptedTimestamp() {
|
|
|
785 |
return acceptedTimestamp;
|
|
|
786 |
}
|
| 27723 |
tejbeer |
787 |
|
| 21545 |
ashik.ali |
788 |
public void setAcceptedTimestamp(LocalDateTime acceptedTimestamp) {
|
|
|
789 |
this.acceptedTimestamp = acceptedTimestamp;
|
|
|
790 |
}
|
| 27723 |
tejbeer |
791 |
|
| 21545 |
ashik.ali |
792 |
public LocalDateTime getBillingTimestamp() {
|
|
|
793 |
return billingTimestamp;
|
|
|
794 |
}
|
| 27723 |
tejbeer |
795 |
|
| 21545 |
ashik.ali |
796 |
public void setBillingTimestamp(LocalDateTime billingTimestamp) {
|
|
|
797 |
this.billingTimestamp = billingTimestamp;
|
|
|
798 |
}
|
| 27723 |
tejbeer |
799 |
|
| 21545 |
ashik.ali |
800 |
public LocalDateTime getShippingTimestamp() {
|
|
|
801 |
return shippingTimestamp;
|
|
|
802 |
}
|
| 27723 |
tejbeer |
803 |
|
| 21545 |
ashik.ali |
804 |
public void setShippingTimestamp(LocalDateTime shippingTimestamp) {
|
|
|
805 |
this.shippingTimestamp = shippingTimestamp;
|
|
|
806 |
}
|
| 27723 |
tejbeer |
807 |
|
| 21545 |
ashik.ali |
808 |
public LocalDateTime getPickupTimestamp() {
|
|
|
809 |
return pickupTimestamp;
|
|
|
810 |
}
|
| 27723 |
tejbeer |
811 |
|
| 21545 |
ashik.ali |
812 |
public void setPickupTimestamp(LocalDateTime pickupTimestamp) {
|
|
|
813 |
this.pickupTimestamp = pickupTimestamp;
|
|
|
814 |
}
|
| 27723 |
tejbeer |
815 |
|
| 21545 |
ashik.ali |
816 |
public LocalDateTime getDeliveryTimestamp() {
|
|
|
817 |
return deliveryTimestamp;
|
|
|
818 |
}
|
| 27723 |
tejbeer |
819 |
|
| 21545 |
ashik.ali |
820 |
public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
|
|
|
821 |
this.deliveryTimestamp = deliveryTimestamp;
|
|
|
822 |
}
|
| 27723 |
tejbeer |
823 |
|
| 21545 |
ashik.ali |
824 |
public LocalDateTime getOutOfStockTimestamp() {
|
|
|
825 |
return outOfStockTimestamp;
|
|
|
826 |
}
|
| 27723 |
tejbeer |
827 |
|
| 21545 |
ashik.ali |
828 |
public void setOutOfStockTimestamp(LocalDateTime outOfStockTimestamp) {
|
|
|
829 |
this.outOfStockTimestamp = outOfStockTimestamp;
|
|
|
830 |
}
|
| 27723 |
tejbeer |
831 |
|
| 21629 |
kshitij.so |
832 |
public Integer getTransactionId() {
|
| 21545 |
ashik.ali |
833 |
return transactionId;
|
|
|
834 |
}
|
| 27723 |
tejbeer |
835 |
|
| 21629 |
kshitij.so |
836 |
public void setTransactionId(Integer transactionId) {
|
| 21545 |
ashik.ali |
837 |
this.transactionId = transactionId;
|
|
|
838 |
}
|
| 27723 |
tejbeer |
839 |
|
|
|
840 |
/*
|
|
|
841 |
* public Integer getJacketNumber() { return jacketNumber; } public void
|
|
|
842 |
* setJacketNumber(Integer jacketNumber) { this.jacketNumber = jacketNumber; }
|
|
|
843 |
*/
|
| 21545 |
ashik.ali |
844 |
public String getReceiver() {
|
|
|
845 |
return receiver;
|
|
|
846 |
}
|
| 27723 |
tejbeer |
847 |
|
| 21545 |
ashik.ali |
848 |
public void setReceiver(String receiver) {
|
|
|
849 |
this.receiver = receiver;
|
|
|
850 |
}
|
| 27723 |
tejbeer |
851 |
|
| 21629 |
kshitij.so |
852 |
public Integer getBatchNumber() {
|
| 21545 |
ashik.ali |
853 |
return batchNumber;
|
|
|
854 |
}
|
| 27723 |
tejbeer |
855 |
|
| 21629 |
kshitij.so |
856 |
public void setBatchNumber(Integer batchNumber) {
|
| 21545 |
ashik.ali |
857 |
this.batchNumber = batchNumber;
|
|
|
858 |
}
|
| 27723 |
tejbeer |
859 |
|
| 21629 |
kshitij.so |
860 |
public Integer getSerialNumber() {
|
| 21545 |
ashik.ali |
861 |
return serialNumber;
|
|
|
862 |
}
|
| 27723 |
tejbeer |
863 |
|
| 21629 |
kshitij.so |
864 |
public void setSerialNumber(Integer serialNumber) {
|
| 21545 |
ashik.ali |
865 |
this.serialNumber = serialNumber;
|
|
|
866 |
}
|
| 27723 |
tejbeer |
867 |
|
| 31020 |
tejbeer |
868 |
public Boolean getShipmentHold() {
|
|
|
869 |
return shipmentHold;
|
|
|
870 |
}
|
|
|
871 |
|
|
|
872 |
public void setShipmentHold(Boolean shipmentHold) {
|
|
|
873 |
this.shipmentHold = shipmentHold;
|
|
|
874 |
}
|
|
|
875 |
|
| 21629 |
kshitij.so |
876 |
public Boolean isDoaFlag() {
|
| 21545 |
ashik.ali |
877 |
return doaFlag;
|
|
|
878 |
}
|
| 27723 |
tejbeer |
879 |
|
| 21629 |
kshitij.so |
880 |
public void setDoaFlag(Boolean doaFlag) {
|
| 21545 |
ashik.ali |
881 |
this.doaFlag = doaFlag;
|
|
|
882 |
}
|
| 27723 |
tejbeer |
883 |
|
| 21629 |
kshitij.so |
884 |
public Integer getPickupRequestNumber() {
|
| 21545 |
ashik.ali |
885 |
return pickupRequestNumber;
|
|
|
886 |
}
|
| 27723 |
tejbeer |
887 |
|
| 21629 |
kshitij.so |
888 |
public void setPickupRequestNumber(Integer pickupRequestNumber) {
|
| 21545 |
ashik.ali |
889 |
this.pickupRequestNumber = pickupRequestNumber;
|
|
|
890 |
}
|
| 27723 |
tejbeer |
891 |
|
| 21629 |
kshitij.so |
892 |
public Integer getNewOrderId() {
|
| 21545 |
ashik.ali |
893 |
return newOrderId;
|
|
|
894 |
}
|
| 27723 |
tejbeer |
895 |
|
| 21629 |
kshitij.so |
896 |
public void setNewOrderId(Integer newOrderId) {
|
| 21545 |
ashik.ali |
897 |
this.newOrderId = newOrderId;
|
|
|
898 |
}
|
| 27723 |
tejbeer |
899 |
|
| 21545 |
ashik.ali |
900 |
public LocalDateTime getDoaAuthTimestamp() {
|
|
|
901 |
return doaAuthTimestamp;
|
|
|
902 |
}
|
| 27723 |
tejbeer |
903 |
|
| 21545 |
ashik.ali |
904 |
public void setDoaAuthTimestamp(LocalDateTime doaAuthTimestamp) {
|
|
|
905 |
this.doaAuthTimestamp = doaAuthTimestamp;
|
|
|
906 |
}
|
| 27723 |
tejbeer |
907 |
|
| 21545 |
ashik.ali |
908 |
public LocalDateTime getDoaPickupTimestamp() {
|
|
|
909 |
return doaPickupTimestamp;
|
|
|
910 |
}
|
| 27723 |
tejbeer |
911 |
|
| 21545 |
ashik.ali |
912 |
public void setDoaPickupTimestamp(LocalDateTime doaPickupTimestamp) {
|
|
|
913 |
this.doaPickupTimestamp = doaPickupTimestamp;
|
|
|
914 |
}
|
| 27723 |
tejbeer |
915 |
|
| 21545 |
ashik.ali |
916 |
public LocalDateTime getReceiverReturnTimestamp() {
|
|
|
917 |
return receiverReturnTimestamp;
|
|
|
918 |
}
|
| 27723 |
tejbeer |
919 |
|
| 21545 |
ashik.ali |
920 |
public void setReceiverReturnTimestamp(LocalDateTime receiverReturnTimestamp) {
|
|
|
921 |
this.receiverReturnTimestamp = receiverReturnTimestamp;
|
|
|
922 |
}
|
| 27723 |
tejbeer |
923 |
|
| 21545 |
ashik.ali |
924 |
public LocalDateTime getReShipTimestamp() {
|
|
|
925 |
return reShipTimestamp;
|
|
|
926 |
}
|
| 27723 |
tejbeer |
927 |
|
| 21545 |
ashik.ali |
928 |
public void setReShipTimestamp(LocalDateTime reShipTimestamp) {
|
|
|
929 |
this.reShipTimestamp = reShipTimestamp;
|
|
|
930 |
}
|
| 27723 |
tejbeer |
931 |
|
| 21545 |
ashik.ali |
932 |
public LocalDateTime getRefundTimestamp() {
|
|
|
933 |
return refundTimestamp;
|
|
|
934 |
}
|
| 27723 |
tejbeer |
935 |
|
| 21545 |
ashik.ali |
936 |
public void setRefundTimestamp(LocalDateTime refundTimestamp) {
|
|
|
937 |
this.refundTimestamp = refundTimestamp;
|
|
|
938 |
}
|
| 27723 |
tejbeer |
939 |
|
| 21629 |
kshitij.so |
940 |
public Integer getPurchaseOrderId() {
|
| 21545 |
ashik.ali |
941 |
return purchaseOrderId;
|
|
|
942 |
}
|
| 27723 |
tejbeer |
943 |
|
| 21629 |
kshitij.so |
944 |
public void setPurchaseOrderId(Integer purchaseOrderId) {
|
| 21545 |
ashik.ali |
945 |
this.purchaseOrderId = purchaseOrderId;
|
|
|
946 |
}
|
| 27723 |
tejbeer |
947 |
|
| 21629 |
kshitij.so |
948 |
public Boolean isCod() {
|
| 21545 |
ashik.ali |
949 |
return cod;
|
|
|
950 |
}
|
| 27723 |
tejbeer |
951 |
|
| 21629 |
kshitij.so |
952 |
public void setCod(Boolean cod) {
|
| 21545 |
ashik.ali |
953 |
this.cod = cod;
|
|
|
954 |
}
|
| 27723 |
tejbeer |
955 |
|
| 21545 |
ashik.ali |
956 |
public LocalDateTime getVerificationTimestamp() {
|
|
|
957 |
return verificationTimestamp;
|
|
|
958 |
}
|
| 27723 |
tejbeer |
959 |
|
| 21545 |
ashik.ali |
960 |
public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {
|
|
|
961 |
this.verificationTimestamp = verificationTimestamp;
|
|
|
962 |
}
|
| 27723 |
tejbeer |
963 |
|
| 21545 |
ashik.ali |
964 |
public String getRefundBy() {
|
|
|
965 |
return refundBy;
|
|
|
966 |
}
|
| 27723 |
tejbeer |
967 |
|
| 21545 |
ashik.ali |
968 |
public void setRefundBy(String refundBy) {
|
|
|
969 |
this.refundBy = refundBy;
|
|
|
970 |
}
|
| 27723 |
tejbeer |
971 |
|
| 21545 |
ashik.ali |
972 |
public String getRefundReason() {
|
|
|
973 |
return refundReason;
|
|
|
974 |
}
|
| 27723 |
tejbeer |
975 |
|
| 21545 |
ashik.ali |
976 |
public void setRefundReason(String refundReason) {
|
|
|
977 |
this.refundReason = refundReason;
|
|
|
978 |
}
|
| 27723 |
tejbeer |
979 |
|
|
|
980 |
/*
|
|
|
981 |
* public DelayReason getDelayReason() { return delayReason; } public void
|
|
|
982 |
* setDelayReason(DelayReason delayReason) { this.delayReason = delayReason; }
|
|
|
983 |
*/
|
| 21545 |
ashik.ali |
984 |
public LocalDateTime getCodReconciliationTimestamp() {
|
|
|
985 |
return codReconciliationTimestamp;
|
|
|
986 |
}
|
| 27723 |
tejbeer |
987 |
|
| 21545 |
ashik.ali |
988 |
public void setCodReconciliationTimestamp(LocalDateTime codReconciliationTimestamp) {
|
|
|
989 |
this.codReconciliationTimestamp = codReconciliationTimestamp;
|
|
|
990 |
}
|
| 27723 |
tejbeer |
991 |
|
| 21629 |
kshitij.so |
992 |
public Integer getPreviousStatus() {
|
| 21545 |
ashik.ali |
993 |
return previousStatus;
|
|
|
994 |
}
|
| 27723 |
tejbeer |
995 |
|
| 21629 |
kshitij.so |
996 |
public void setPreviousStatus(Integer previousStatus) {
|
| 21545 |
ashik.ali |
997 |
this.previousStatus = previousStatus;
|
|
|
998 |
}
|
| 27723 |
tejbeer |
999 |
|
| 21629 |
kshitij.so |
1000 |
public Integer getVendorId() {
|
| 21545 |
ashik.ali |
1001 |
return vendorId;
|
|
|
1002 |
}
|
| 27723 |
tejbeer |
1003 |
|
| 21629 |
kshitij.so |
1004 |
public void setVendorId(Integer vendorId) {
|
| 21545 |
ashik.ali |
1005 |
this.vendorId = vendorId;
|
|
|
1006 |
}
|
| 27723 |
tejbeer |
1007 |
|
| 21545 |
ashik.ali |
1008 |
public String getDelayReasonText() {
|
|
|
1009 |
return delayReasonText;
|
|
|
1010 |
}
|
| 27723 |
tejbeer |
1011 |
|
| 21545 |
ashik.ali |
1012 |
public void setDelayReasonText(String delayReasonText) {
|
|
|
1013 |
this.delayReasonText = delayReasonText;
|
|
|
1014 |
}
|
| 27723 |
tejbeer |
1015 |
|
| 21629 |
kshitij.so |
1016 |
public Integer getDoaLogisticsProviderId() {
|
| 21545 |
ashik.ali |
1017 |
return doaLogisticsProviderId;
|
|
|
1018 |
}
|
| 27723 |
tejbeer |
1019 |
|
| 21629 |
kshitij.so |
1020 |
public void setDoaLogisticsProviderId(Integer doaLogisticsProviderId) {
|
| 21545 |
ashik.ali |
1021 |
this.doaLogisticsProviderId = doaLogisticsProviderId;
|
|
|
1022 |
}
|
| 27723 |
tejbeer |
1023 |
|
| 21629 |
kshitij.so |
1024 |
public Boolean isVendorPaid() {
|
| 21545 |
ashik.ali |
1025 |
return vendorPaid;
|
|
|
1026 |
}
|
| 27723 |
tejbeer |
1027 |
|
| 21629 |
kshitij.so |
1028 |
public void setVendorPaid(Boolean vendorPaid) {
|
| 21545 |
ashik.ali |
1029 |
this.vendorPaid = vendorPaid;
|
|
|
1030 |
}
|
| 27723 |
tejbeer |
1031 |
|
| 21545 |
ashik.ali |
1032 |
public LocalDateTime getLocalConnectedTimestamp() {
|
|
|
1033 |
return localConnectedTimestamp;
|
|
|
1034 |
}
|
| 27723 |
tejbeer |
1035 |
|
| 21545 |
ashik.ali |
1036 |
public void setLocalConnectedTimestamp(LocalDateTime localConnectedTimestamp) {
|
|
|
1037 |
this.localConnectedTimestamp = localConnectedTimestamp;
|
|
|
1038 |
}
|
| 27723 |
tejbeer |
1039 |
|
| 21545 |
ashik.ali |
1040 |
public LocalDateTime getReachedDestinationTimestamp() {
|
|
|
1041 |
return reachedDestinationTimestamp;
|
|
|
1042 |
}
|
| 27723 |
tejbeer |
1043 |
|
| 21545 |
ashik.ali |
1044 |
public void setReachedDestinationTimestamp(LocalDateTime reachedDestinationTimestamp) {
|
|
|
1045 |
this.reachedDestinationTimestamp = reachedDestinationTimestamp;
|
|
|
1046 |
}
|
| 27723 |
tejbeer |
1047 |
|
| 21545 |
ashik.ali |
1048 |
public LocalDateTime getFirstDlvyatmpTimestamp() {
|
|
|
1049 |
return firstDlvyatmpTimestamp;
|
|
|
1050 |
}
|
| 27723 |
tejbeer |
1051 |
|
| 21545 |
ashik.ali |
1052 |
public void setFirstDlvyatmpTimestamp(LocalDateTime firstDlvyatmpTimestamp) {
|
|
|
1053 |
this.firstDlvyatmpTimestamp = firstDlvyatmpTimestamp;
|
|
|
1054 |
}
|
| 27723 |
tejbeer |
1055 |
|
| 21629 |
kshitij.so |
1056 |
public Integer getOriginalOrderId() {
|
| 21545 |
ashik.ali |
1057 |
return originalOrderId;
|
|
|
1058 |
}
|
| 27723 |
tejbeer |
1059 |
|
| 21629 |
kshitij.so |
1060 |
public void setOriginalOrderId(Integer originalOrderId) {
|
| 21545 |
ashik.ali |
1061 |
this.originalOrderId = originalOrderId;
|
|
|
1062 |
}
|
| 27723 |
tejbeer |
1063 |
|
| 21629 |
kshitij.so |
1064 |
public Integer getFulfilmentWarehouseId() {
|
| 21545 |
ashik.ali |
1065 |
return fulfilmentWarehouseId;
|
|
|
1066 |
}
|
| 27723 |
tejbeer |
1067 |
|
| 21629 |
kshitij.so |
1068 |
public void setFulfilmentWarehouseId(Integer fulfilmentWarehouseId) {
|
| 21545 |
ashik.ali |
1069 |
this.fulfilmentWarehouseId = fulfilmentWarehouseId;
|
|
|
1070 |
}
|
| 27723 |
tejbeer |
1071 |
|
| 21629 |
kshitij.so |
1072 |
public Integer getOrderType() {
|
| 21545 |
ashik.ali |
1073 |
return orderType;
|
|
|
1074 |
}
|
| 27723 |
tejbeer |
1075 |
|
| 21629 |
kshitij.so |
1076 |
public void setOrderType(Integer orderType) {
|
| 21545 |
ashik.ali |
1077 |
this.orderType = orderType;
|
|
|
1078 |
}
|
| 27723 |
tejbeer |
1079 |
|
| 21629 |
kshitij.so |
1080 |
public Integer getPickupStoreId() {
|
| 21545 |
ashik.ali |
1081 |
return pickupStoreId;
|
|
|
1082 |
}
|
| 27723 |
tejbeer |
1083 |
|
| 21629 |
kshitij.so |
1084 |
public void setPickupStoreId(Integer pickupStoreId) {
|
| 21545 |
ashik.ali |
1085 |
this.pickupStoreId = pickupStoreId;
|
|
|
1086 |
}
|
| 27723 |
tejbeer |
1087 |
|
| 21629 |
kshitij.so |
1088 |
public Boolean isOtg() {
|
| 21545 |
ashik.ali |
1089 |
return otg;
|
|
|
1090 |
}
|
| 27723 |
tejbeer |
1091 |
|
| 21629 |
kshitij.so |
1092 |
public void setOtg(Boolean otg) {
|
| 21545 |
ashik.ali |
1093 |
this.otg = otg;
|
|
|
1094 |
}
|
| 27723 |
tejbeer |
1095 |
|
| 21545 |
ashik.ali |
1096 |
public LocalDateTime getCourierDeliveryTimestamp() {
|
|
|
1097 |
return courierDeliveryTimestamp;
|
|
|
1098 |
}
|
| 27723 |
tejbeer |
1099 |
|
| 21545 |
ashik.ali |
1100 |
public void setCourierDeliveryTimestamp(LocalDateTime courierDeliveryTimestamp) {
|
|
|
1101 |
this.courierDeliveryTimestamp = courierDeliveryTimestamp;
|
|
|
1102 |
}
|
| 27723 |
tejbeer |
1103 |
|
| 21629 |
kshitij.so |
1104 |
public Integer getInsurer() {
|
| 21545 |
ashik.ali |
1105 |
return insurer;
|
|
|
1106 |
}
|
| 27723 |
tejbeer |
1107 |
|
| 21629 |
kshitij.so |
1108 |
public void setInsurer(Integer insurer) {
|
| 21545 |
ashik.ali |
1109 |
this.insurer = insurer;
|
|
|
1110 |
}
|
| 27723 |
tejbeer |
1111 |
|
| 21629 |
kshitij.so |
1112 |
public Float getInsuranceAmount() {
|
| 21545 |
ashik.ali |
1113 |
return insuranceAmount;
|
|
|
1114 |
}
|
| 27723 |
tejbeer |
1115 |
|
| 21629 |
kshitij.so |
1116 |
public void setInsuranceAmount(Float insuranceAmount) {
|
| 21545 |
ashik.ali |
1117 |
this.insuranceAmount = insuranceAmount;
|
|
|
1118 |
}
|
| 27723 |
tejbeer |
1119 |
|
| 21629 |
kshitij.so |
1120 |
public Integer getFreebieItemId() {
|
| 21545 |
ashik.ali |
1121 |
return freebieItemId;
|
|
|
1122 |
}
|
| 27723 |
tejbeer |
1123 |
|
| 21629 |
kshitij.so |
1124 |
public void setFreebieItemId(Integer freebieItemId) {
|
| 21545 |
ashik.ali |
1125 |
this.freebieItemId = freebieItemId;
|
|
|
1126 |
}
|
| 27723 |
tejbeer |
1127 |
|
| 21629 |
kshitij.so |
1128 |
public Integer getSource() {
|
| 21545 |
ashik.ali |
1129 |
return source;
|
|
|
1130 |
}
|
| 27723 |
tejbeer |
1131 |
|
| 21629 |
kshitij.so |
1132 |
public void setSource(Integer source) {
|
| 21545 |
ashik.ali |
1133 |
this.source = source;
|
|
|
1134 |
}
|
| 27723 |
tejbeer |
1135 |
|
| 21629 |
kshitij.so |
1136 |
public Float getAdvanceAmount() {
|
| 21545 |
ashik.ali |
1137 |
return advanceAmount;
|
|
|
1138 |
}
|
| 27723 |
tejbeer |
1139 |
|
| 21629 |
kshitij.so |
1140 |
public void setAdvanceAmount(Float advanceAmount) {
|
| 21545 |
ashik.ali |
1141 |
this.advanceAmount = advanceAmount;
|
|
|
1142 |
}
|
| 27723 |
tejbeer |
1143 |
|
| 21629 |
kshitij.so |
1144 |
public Integer getStoreId() {
|
| 21545 |
ashik.ali |
1145 |
return storeId;
|
|
|
1146 |
}
|
| 27723 |
tejbeer |
1147 |
|
| 21629 |
kshitij.so |
1148 |
public void setStoreId(Integer storeId) {
|
| 21545 |
ashik.ali |
1149 |
this.storeId = storeId;
|
|
|
1150 |
}
|
| 27723 |
tejbeer |
1151 |
|
| 21629 |
kshitij.so |
1152 |
public Integer getProductCondition() {
|
| 21545 |
ashik.ali |
1153 |
return productCondition;
|
|
|
1154 |
}
|
| 27723 |
tejbeer |
1155 |
|
| 21629 |
kshitij.so |
1156 |
public void setProductCondition(Integer productCondition) {
|
| 21545 |
ashik.ali |
1157 |
this.productCondition = productCondition;
|
|
|
1158 |
}
|
| 27723 |
tejbeer |
1159 |
|
| 21629 |
kshitij.so |
1160 |
public Integer getDataProtectionInsurer() {
|
| 21545 |
ashik.ali |
1161 |
return dataProtectionInsurer;
|
|
|
1162 |
}
|
| 27723 |
tejbeer |
1163 |
|
| 21629 |
kshitij.so |
1164 |
public void setDataProtectionInsurer(Integer dataProtectionInsurer) {
|
| 21545 |
ashik.ali |
1165 |
this.dataProtectionInsurer = dataProtectionInsurer;
|
|
|
1166 |
}
|
| 27723 |
tejbeer |
1167 |
|
| 21629 |
kshitij.so |
1168 |
public Integer getDataProtectionAmount() {
|
| 21545 |
ashik.ali |
1169 |
return dataProtectionAmount;
|
|
|
1170 |
}
|
| 27723 |
tejbeer |
1171 |
|
| 21629 |
kshitij.so |
1172 |
public void setDataProtectionAmount(Integer dataProtectionAmount) {
|
| 21545 |
ashik.ali |
1173 |
this.dataProtectionAmount = dataProtectionAmount;
|
|
|
1174 |
}
|
| 27723 |
tejbeer |
1175 |
|
| 21545 |
ashik.ali |
1176 |
public TaxType getTaxType() {
|
|
|
1177 |
return taxType;
|
|
|
1178 |
}
|
| 27723 |
tejbeer |
1179 |
|
| 21545 |
ashik.ali |
1180 |
public void setTaxType(TaxType taxType) {
|
|
|
1181 |
this.taxType = taxType;
|
|
|
1182 |
}
|
| 27723 |
tejbeer |
1183 |
|
| 21545 |
ashik.ali |
1184 |
public String getLogisticsTransactionId() {
|
|
|
1185 |
return logisticsTransactionId;
|
|
|
1186 |
}
|
| 27723 |
tejbeer |
1187 |
|
| 21545 |
ashik.ali |
1188 |
public void setLogisticsTransactionId(String logisticsTransactionId) {
|
|
|
1189 |
this.logisticsTransactionId = logisticsTransactionId;
|
|
|
1190 |
}
|
| 27723 |
tejbeer |
1191 |
|
| 21629 |
kshitij.so |
1192 |
public Float getShippingCost() {
|
| 21545 |
ashik.ali |
1193 |
return shippingCost;
|
|
|
1194 |
}
|
| 27723 |
tejbeer |
1195 |
|
| 21629 |
kshitij.so |
1196 |
public void setShippingCost(Float shippingCost) {
|
| 21545 |
ashik.ali |
1197 |
this.shippingCost = shippingCost;
|
|
|
1198 |
}
|
| 27723 |
tejbeer |
1199 |
|
| 21629 |
kshitij.so |
1200 |
public Float getCodCharges() {
|
| 21545 |
ashik.ali |
1201 |
return codCharges;
|
|
|
1202 |
}
|
| 27723 |
tejbeer |
1203 |
|
| 21629 |
kshitij.so |
1204 |
public void setCodCharges(Float codCharges) {
|
| 21545 |
ashik.ali |
1205 |
this.codCharges = codCharges;
|
|
|
1206 |
}
|
| 27723 |
tejbeer |
1207 |
|
| 21629 |
kshitij.so |
1208 |
public Float getWalletAmount() {
|
| 21545 |
ashik.ali |
1209 |
return walletAmount;
|
|
|
1210 |
}
|
| 27723 |
tejbeer |
1211 |
|
| 21629 |
kshitij.so |
1212 |
public void setWalletAmount(Float walletAmount) {
|
| 21545 |
ashik.ali |
1213 |
this.walletAmount = walletAmount;
|
|
|
1214 |
}
|
| 27723 |
tejbeer |
1215 |
|
| 21629 |
kshitij.so |
1216 |
public Float getNetPayableAmount() {
|
| 21545 |
ashik.ali |
1217 |
return netPayableAmount;
|
|
|
1218 |
}
|
| 27723 |
tejbeer |
1219 |
|
| 21629 |
kshitij.so |
1220 |
public void setNetPayableAmount(Float netPayableAmount) {
|
| 21545 |
ashik.ali |
1221 |
this.netPayableAmount = netPayableAmount;
|
|
|
1222 |
}
|
| 27723 |
tejbeer |
1223 |
|
| 21629 |
kshitij.so |
1224 |
public Float getShippingRefund() {
|
| 21545 |
ashik.ali |
1225 |
return shippingRefund;
|
|
|
1226 |
}
|
| 27723 |
tejbeer |
1227 |
|
| 21629 |
kshitij.so |
1228 |
public void setShippingRefund(Float shippingRefund) {
|
| 21545 |
ashik.ali |
1229 |
this.shippingRefund = shippingRefund;
|
|
|
1230 |
}
|
| 27723 |
tejbeer |
1231 |
|
| 21653 |
ashik.ali |
1232 |
public LineItem getLineItem() {
|
|
|
1233 |
return lineItem;
|
|
|
1234 |
}
|
| 27723 |
tejbeer |
1235 |
|
| 21653 |
ashik.ali |
1236 |
public void setLineItem(LineItem lineItem) {
|
|
|
1237 |
this.lineItem = lineItem;
|
|
|
1238 |
}
|
| 27723 |
tejbeer |
1239 |
|
|
|
1240 |
public String getFormattedDate() {
|
|
|
1241 |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm");
|
| 23075 |
ashik.ali |
1242 |
return this.createTimestamp.format(formatter);
|
| 27723 |
tejbeer |
1243 |
}
|
|
|
1244 |
|
| 21545 |
ashik.ali |
1245 |
@Override
|
| 21924 |
ashik.ali |
1246 |
public int hashCode() {
|
|
|
1247 |
final int prime = 31;
|
|
|
1248 |
int result = 1;
|
|
|
1249 |
result = prime * result + ((id == null) ? 0 : id.hashCode());
|
|
|
1250 |
return result;
|
|
|
1251 |
}
|
| 27723 |
tejbeer |
1252 |
|
| 21924 |
ashik.ali |
1253 |
@Override
|
|
|
1254 |
public boolean equals(Object obj) {
|
|
|
1255 |
if (this == obj)
|
|
|
1256 |
return true;
|
|
|
1257 |
if (obj == null)
|
|
|
1258 |
return false;
|
|
|
1259 |
if (getClass() != obj.getClass())
|
|
|
1260 |
return false;
|
|
|
1261 |
Order other = (Order) obj;
|
|
|
1262 |
if (id == null) {
|
|
|
1263 |
if (other.id != null)
|
|
|
1264 |
return false;
|
|
|
1265 |
} else if (!id.equals(other.id))
|
|
|
1266 |
return false;
|
|
|
1267 |
return true;
|
|
|
1268 |
}
|
| 27723 |
tejbeer |
1269 |
|
| 30289 |
amit.gupta |
1270 |
public Boolean isIrnGenerated() {
|
|
|
1271 |
return irnGenerated;
|
|
|
1272 |
}
|
|
|
1273 |
|
|
|
1274 |
public void setIrnGenerated(boolean irnGenerated) {
|
|
|
1275 |
this.irnGenerated = irnGenerated;
|
|
|
1276 |
}
|
|
|
1277 |
|
| 21924 |
ashik.ali |
1278 |
@Override
|
| 21545 |
ashik.ali |
1279 |
public String toString() {
|
| 30820 |
amit.gupta |
1280 |
return "Order [id=" + id + "]";
|
| 21545 |
ashik.ali |
1281 |
}
|
| 27723 |
tejbeer |
1282 |
|
| 21545 |
ashik.ali |
1283 |
}
|