| 35172 |
ranu |
1 |
package com.spice.profitmandi.dao.model;
|
|
|
2 |
|
|
|
3 |
import java.time.LocalDateTime;
|
|
|
4 |
import java.util.Objects;
|
|
|
5 |
|
|
|
6 |
public class ModelWisePartnerPoModel {
|
|
|
7 |
LocalDateTime createdAt;
|
|
|
8 |
String partnerName;
|
|
|
9 |
String code;
|
|
|
10 |
int warehouseId;
|
|
|
11 |
String brand;
|
|
|
12 |
String model;
|
|
|
13 |
int catalogId;
|
|
|
14 |
long quantity;
|
|
|
15 |
long todayPoValue;
|
|
|
16 |
long todayBilledValue;
|
|
|
17 |
String status;
|
|
|
18 |
long netAvailableQty;
|
|
|
19 |
long reservedQty;
|
| 35174 |
ranu |
20 |
private String bm;
|
|
|
21 |
private String asm;
|
|
|
22 |
private String rbm;
|
| 35172 |
ranu |
23 |
|
|
|
24 |
public ModelWisePartnerPoModel(LocalDateTime createdAt, String partnerName, String code, int warehouseId, String brand, String model, int catalogId, String status, long quantity, long todayPoValue, long todayBilledValue) {
|
|
|
25 |
this.createdAt = createdAt;
|
|
|
26 |
this.partnerName = partnerName;
|
|
|
27 |
this.warehouseId = warehouseId;
|
|
|
28 |
this.code = code;
|
|
|
29 |
this.catalogId = catalogId;
|
|
|
30 |
this.brand = brand;
|
|
|
31 |
this.model = model;
|
|
|
32 |
this.status = status;
|
|
|
33 |
this.quantity = quantity;
|
|
|
34 |
this.todayPoValue = todayPoValue;
|
|
|
35 |
this.todayBilledValue = todayBilledValue;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public LocalDateTime getCreatedAt() {
|
|
|
39 |
return createdAt;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public void setCreatedAt(LocalDateTime createdAt) {
|
|
|
43 |
this.createdAt = createdAt;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public String getPartnerName() {
|
|
|
47 |
return partnerName;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
public void setPartnerName(String partnerName) {
|
|
|
51 |
this.partnerName = partnerName;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
public String getBrand() {
|
|
|
55 |
return brand;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public void setBrand(String brand) {
|
|
|
59 |
this.brand = brand;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public String getModel() {
|
|
|
63 |
return model;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
public void setModel(String model) {
|
|
|
67 |
this.model = model;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
public long getQuantity() {
|
|
|
71 |
return quantity;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
public void setQuantity(long quantity) {
|
|
|
75 |
this.quantity = quantity;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
public long getTodayPoValue() {
|
|
|
79 |
return todayPoValue;
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
public void setTodayPoValue(long todayPoValue) {
|
|
|
83 |
this.todayPoValue = todayPoValue;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
public long getTodayBilledValue() {
|
|
|
87 |
return todayBilledValue;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public void setTodayBilledValue(long todayBilledValue) {
|
|
|
91 |
this.todayBilledValue = todayBilledValue;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public String getStatus() {
|
|
|
95 |
return status;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
public void setStatus(String status) {
|
|
|
99 |
this.status = status;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public long getNetAvailableQty() {
|
|
|
103 |
return netAvailableQty;
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
public void setNetAvailableQty(long netAvailableQty) {
|
|
|
107 |
this.netAvailableQty = netAvailableQty;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
public long getReservedQty() {
|
|
|
111 |
return reservedQty;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public void setReservedQty(long reservedQty) {
|
|
|
115 |
this.reservedQty = reservedQty;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
public String getCode() {
|
|
|
119 |
return code;
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
public void setCode(String code) {
|
|
|
123 |
this.code = code;
|
|
|
124 |
}
|
|
|
125 |
|
|
|
126 |
public int getWarehouseId() {
|
|
|
127 |
return warehouseId;
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
public void setWarehouseId(int warehouseId) {
|
|
|
131 |
this.warehouseId = warehouseId;
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
public int getCatalogId() {
|
|
|
135 |
return catalogId;
|
|
|
136 |
}
|
|
|
137 |
|
|
|
138 |
public void setCatalogId(int catalogId) {
|
|
|
139 |
this.catalogId = catalogId;
|
|
|
140 |
}
|
|
|
141 |
|
| 35174 |
ranu |
142 |
public String getBm() {
|
|
|
143 |
return bm;
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
public void setBm(String bm) {
|
|
|
147 |
this.bm = bm;
|
|
|
148 |
}
|
|
|
149 |
|
|
|
150 |
public String getAsm() {
|
|
|
151 |
return asm;
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
public void setAsm(String asm) {
|
|
|
155 |
this.asm = asm;
|
|
|
156 |
}
|
|
|
157 |
|
|
|
158 |
public String getRbm() {
|
|
|
159 |
return rbm;
|
|
|
160 |
}
|
|
|
161 |
|
|
|
162 |
public void setRbm(String rbm) {
|
|
|
163 |
this.rbm = rbm;
|
|
|
164 |
}
|
|
|
165 |
|
| 35172 |
ranu |
166 |
@Override
|
|
|
167 |
public boolean equals(Object o) {
|
|
|
168 |
if (this == o) return true;
|
|
|
169 |
if (o == null || getClass() != o.getClass()) return false;
|
|
|
170 |
ModelWisePartnerPoModel that = (ModelWisePartnerPoModel) o;
|
| 35174 |
ranu |
171 |
return warehouseId == that.warehouseId && catalogId == that.catalogId && quantity == that.quantity && todayPoValue == that.todayPoValue && todayBilledValue == that.todayBilledValue && netAvailableQty == that.netAvailableQty && reservedQty == that.reservedQty && Objects.equals(createdAt, that.createdAt) && Objects.equals(partnerName, that.partnerName) && Objects.equals(code, that.code) && Objects.equals(brand, that.brand) && Objects.equals(model, that.model) && Objects.equals(status, that.status) && Objects.equals(bm, that.bm) && Objects.equals(asm, that.asm) && Objects.equals(rbm, that.rbm);
|
| 35172 |
ranu |
172 |
}
|
|
|
173 |
|
|
|
174 |
@Override
|
|
|
175 |
public int hashCode() {
|
| 35174 |
ranu |
176 |
return Objects.hash(createdAt, partnerName, code, warehouseId, brand, model, catalogId, quantity, todayPoValue, todayBilledValue, status, netAvailableQty, reservedQty, bm, asm, rbm);
|
| 35172 |
ranu |
177 |
}
|
|
|
178 |
|
|
|
179 |
@Override
|
|
|
180 |
public String toString() {
|
|
|
181 |
return "ModelWisePartnerPoModel{" +
|
|
|
182 |
"createdAt=" + createdAt +
|
|
|
183 |
", partnerName='" + partnerName + '\'' +
|
|
|
184 |
", code='" + code + '\'' +
|
|
|
185 |
", warehouseId=" + warehouseId +
|
|
|
186 |
", brand='" + brand + '\'' +
|
|
|
187 |
", model='" + model + '\'' +
|
|
|
188 |
", catalogId=" + catalogId +
|
|
|
189 |
", quantity=" + quantity +
|
|
|
190 |
", todayPoValue=" + todayPoValue +
|
|
|
191 |
", todayBilledValue=" + todayBilledValue +
|
|
|
192 |
", status='" + status + '\'' +
|
|
|
193 |
", netAvailableQty=" + netAvailableQty +
|
|
|
194 |
", reservedQty=" + reservedQty +
|
| 35174 |
ranu |
195 |
", bm='" + bm + '\'' +
|
|
|
196 |
", asm='" + asm + '\'' +
|
|
|
197 |
", rbm='" + rbm + '\'' +
|
| 35172 |
ranu |
198 |
'}';
|
|
|
199 |
}
|
|
|
200 |
}
|