| 30197 |
tejbeer |
1 |
package com.spice.profitmandi.dao.model;
|
|
|
2 |
|
|
|
3 |
import java.time.LocalDateTime;
|
| 34178 |
ranu |
4 |
import java.util.Objects;
|
| 30197 |
tejbeer |
5 |
|
|
|
6 |
public class SaholicCISModel {
|
|
|
7 |
|
|
|
8 |
private int itemId;
|
|
|
9 |
private int warehouseId;
|
|
|
10 |
private String brand;
|
|
|
11 |
private String modelName;
|
|
|
12 |
private String categoryName;
|
|
|
13 |
private String modelNumber;
|
|
|
14 |
private String color;
|
|
|
15 |
private Float dealerPrice;
|
|
|
16 |
private LocalDateTime updatedOn;
|
|
|
17 |
private String stateName;
|
|
|
18 |
private String warehouseName;
|
|
|
19 |
private Integer indent;
|
|
|
20 |
private Integer tertiary;
|
|
|
21 |
private Integer total;
|
|
|
22 |
private Integer dlt;
|
| 34178 |
ranu |
23 |
private Integer dlt15;
|
| 30197 |
tejbeer |
24 |
private Integer d10to20;;
|
|
|
25 |
private Integer d20to30;
|
|
|
26 |
private Integer d30to45;
|
|
|
27 |
private Integer d45to60;
|
|
|
28 |
private Integer dgt60;
|
|
|
29 |
|
|
|
30 |
public SaholicCISModel(int itemId, int warehouseId, String brand, String modelName, String categoryName,
|
|
|
31 |
String modelNumber, String color, Float dealerPrice, LocalDateTime updatedOn, String stateName,
|
| 34178 |
ranu |
32 |
String warehouseName, Integer indent, Integer tertiary, Integer total, Integer dlt, Integer dlt15, Integer d10to20,
|
| 30197 |
tejbeer |
33 |
Integer d20to30, Integer d30to45, Integer d45to60, Integer dgt60) {
|
|
|
34 |
super();
|
|
|
35 |
this.itemId = itemId;
|
|
|
36 |
this.warehouseId = warehouseId;
|
|
|
37 |
this.brand = brand;
|
|
|
38 |
this.modelName = modelName;
|
|
|
39 |
this.categoryName = categoryName;
|
|
|
40 |
this.modelNumber = modelNumber;
|
|
|
41 |
this.color = color;
|
|
|
42 |
this.dealerPrice = dealerPrice;
|
|
|
43 |
this.updatedOn = updatedOn;
|
|
|
44 |
this.stateName = stateName;
|
|
|
45 |
this.warehouseName = warehouseName;
|
|
|
46 |
this.indent = indent;
|
|
|
47 |
this.tertiary = tertiary;
|
|
|
48 |
this.total = total;
|
|
|
49 |
this.dlt = dlt;
|
| 34178 |
ranu |
50 |
this.dlt15 = dlt15;
|
| 30197 |
tejbeer |
51 |
this.d10to20 = d10to20;
|
|
|
52 |
this.d20to30 = d20to30;
|
|
|
53 |
this.d30to45 = d30to45;
|
|
|
54 |
this.d45to60 = d45to60;
|
|
|
55 |
this.dgt60 = dgt60;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public int getItemId() {
|
|
|
59 |
return itemId;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public void setItemId(int itemId) {
|
|
|
63 |
this.itemId = itemId;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
public int getWarehouseId() {
|
|
|
67 |
return warehouseId;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
public void setWarehouseId(int warehouseId) {
|
|
|
71 |
this.warehouseId = warehouseId;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
public String getBrand() {
|
|
|
75 |
return brand;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
public void setBrand(String brand) {
|
|
|
79 |
this.brand = brand;
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
public String getModelName() {
|
|
|
83 |
return modelName;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
public void setModelName(String modelName) {
|
|
|
87 |
this.modelName = modelName;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public String getCategoryName() {
|
|
|
91 |
return categoryName;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public void setCategoryName(String categoryName) {
|
|
|
95 |
this.categoryName = categoryName;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
public String getModelNumber() {
|
|
|
99 |
return modelNumber;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public void setModelNumber(String modelNumber) {
|
|
|
103 |
this.modelNumber = modelNumber;
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
public String getColor() {
|
|
|
107 |
return color;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
public void setColor(String color) {
|
|
|
111 |
this.color = color;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public Float getDealerPrice() {
|
|
|
115 |
return dealerPrice;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
public void setDealerPrice(Float dealerPrice) {
|
|
|
119 |
this.dealerPrice = dealerPrice;
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
public LocalDateTime getUpdatedOn() {
|
|
|
123 |
return updatedOn;
|
|
|
124 |
}
|
|
|
125 |
|
|
|
126 |
public void setUpdatedOn(LocalDateTime updatedOn) {
|
|
|
127 |
this.updatedOn = updatedOn;
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
public String getStateName() {
|
|
|
131 |
return stateName;
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
public void setStateName(String stateName) {
|
|
|
135 |
this.stateName = stateName;
|
|
|
136 |
}
|
|
|
137 |
|
|
|
138 |
public String getWarehouseName() {
|
|
|
139 |
return warehouseName;
|
|
|
140 |
}
|
|
|
141 |
|
|
|
142 |
public void setWarehouseName(String warehouseName) {
|
|
|
143 |
this.warehouseName = warehouseName;
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
public Integer getIndent() {
|
|
|
147 |
return indent;
|
|
|
148 |
}
|
|
|
149 |
|
|
|
150 |
public void setIndent(Integer indent) {
|
|
|
151 |
this.indent = indent;
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
public Integer getTertiary() {
|
|
|
155 |
return tertiary;
|
|
|
156 |
}
|
|
|
157 |
|
|
|
158 |
public void setTertiary(Integer tertiary) {
|
|
|
159 |
this.tertiary = tertiary;
|
|
|
160 |
}
|
|
|
161 |
|
|
|
162 |
public Integer getTotal() {
|
|
|
163 |
return total;
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
public void setTotal(Integer total) {
|
|
|
167 |
this.total = total;
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
public Integer getDlt() {
|
|
|
171 |
return dlt;
|
|
|
172 |
}
|
|
|
173 |
|
|
|
174 |
public void setDlt(Integer dlt) {
|
|
|
175 |
this.dlt = dlt;
|
|
|
176 |
}
|
|
|
177 |
|
| 34178 |
ranu |
178 |
public Integer getDlt15() {
|
|
|
179 |
return dlt15;
|
|
|
180 |
}
|
|
|
181 |
|
|
|
182 |
public void setDlt15(Integer dlt15) {
|
|
|
183 |
this.dlt15 = dlt15;
|
|
|
184 |
}
|
|
|
185 |
|
| 30197 |
tejbeer |
186 |
public Integer getD10to20() {
|
|
|
187 |
return d10to20;
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
public void setD10to20(Integer d10to20) {
|
|
|
191 |
this.d10to20 = d10to20;
|
|
|
192 |
}
|
|
|
193 |
|
|
|
194 |
public Integer getD20to30() {
|
|
|
195 |
return d20to30;
|
|
|
196 |
}
|
|
|
197 |
|
|
|
198 |
public void setD20to30(Integer d20to30) {
|
|
|
199 |
this.d20to30 = d20to30;
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
public Integer getD30to45() {
|
|
|
203 |
return d30to45;
|
|
|
204 |
}
|
|
|
205 |
|
|
|
206 |
public void setD30to45(Integer d30to45) {
|
|
|
207 |
this.d30to45 = d30to45;
|
|
|
208 |
}
|
|
|
209 |
|
|
|
210 |
public Integer getD45to60() {
|
|
|
211 |
return d45to60;
|
|
|
212 |
}
|
|
|
213 |
|
|
|
214 |
public void setD45to60(Integer d45to60) {
|
|
|
215 |
this.d45to60 = d45to60;
|
|
|
216 |
}
|
|
|
217 |
|
|
|
218 |
public Integer getDgt60() {
|
|
|
219 |
return dgt60;
|
|
|
220 |
}
|
|
|
221 |
|
|
|
222 |
public void setDgt60(Integer dgt60) {
|
|
|
223 |
this.dgt60 = dgt60;
|
|
|
224 |
}
|
|
|
225 |
|
|
|
226 |
@Override
|
| 34178 |
ranu |
227 |
public boolean equals(Object o) {
|
|
|
228 |
if (this == o) return true;
|
|
|
229 |
if (o == null || getClass() != o.getClass()) return false;
|
|
|
230 |
SaholicCISModel that = (SaholicCISModel) o;
|
|
|
231 |
return itemId == that.itemId && warehouseId == that.warehouseId && Objects.equals(brand, that.brand) && Objects.equals(modelName, that.modelName) && Objects.equals(categoryName, that.categoryName) && Objects.equals(modelNumber, that.modelNumber) && Objects.equals(color, that.color) && Objects.equals(dealerPrice, that.dealerPrice) && Objects.equals(updatedOn, that.updatedOn) && Objects.equals(stateName, that.stateName) && Objects.equals(warehouseName, that.warehouseName) && Objects.equals(indent, that.indent) && Objects.equals(tertiary, that.tertiary) && Objects.equals(total, that.total) && Objects.equals(dlt, that.dlt) && Objects.equals(dlt15, that.dlt15) && Objects.equals(d10to20, that.d10to20) && Objects.equals(d20to30, that.d20to30) && Objects.equals(d30to45, that.d30to45) && Objects.equals(d45to60, that.d45to60) && Objects.equals(dgt60, that.dgt60);
|
| 30197 |
tejbeer |
232 |
}
|
|
|
233 |
|
|
|
234 |
@Override
|
| 34178 |
ranu |
235 |
public int hashCode() {
|
|
|
236 |
return Objects.hash(itemId, warehouseId, brand, modelName, categoryName, modelNumber, color, dealerPrice, updatedOn, stateName, warehouseName, indent, tertiary, total, dlt, dlt15, d10to20, d20to30, d30to45, d45to60, dgt60);
|
| 30197 |
tejbeer |
237 |
}
|
|
|
238 |
|
|
|
239 |
@Override
|
|
|
240 |
public String toString() {
|
| 34178 |
ranu |
241 |
return "SaholicCISModel{" +
|
|
|
242 |
"itemId=" + itemId +
|
|
|
243 |
", warehouseId=" + warehouseId +
|
|
|
244 |
", brand='" + brand + '\'' +
|
|
|
245 |
", modelName='" + modelName + '\'' +
|
|
|
246 |
", categoryName='" + categoryName + '\'' +
|
|
|
247 |
", modelNumber='" + modelNumber + '\'' +
|
|
|
248 |
", color='" + color + '\'' +
|
|
|
249 |
", dealerPrice=" + dealerPrice +
|
|
|
250 |
", updatedOn=" + updatedOn +
|
|
|
251 |
", stateName='" + stateName + '\'' +
|
|
|
252 |
", warehouseName='" + warehouseName + '\'' +
|
|
|
253 |
", indent=" + indent +
|
|
|
254 |
", tertiary=" + tertiary +
|
|
|
255 |
", total=" + total +
|
|
|
256 |
", dlt=" + dlt +
|
|
|
257 |
", dlt15=" + dlt15 +
|
|
|
258 |
", d10to20=" + d10to20 +
|
|
|
259 |
", d20to30=" + d20to30 +
|
|
|
260 |
", d30to45=" + d30to45 +
|
|
|
261 |
", d45to60=" + d45to60 +
|
|
|
262 |
", dgt60=" + dgt60 +
|
|
|
263 |
'}';
|
| 30197 |
tejbeer |
264 |
}
|
|
|
265 |
|
|
|
266 |
}
|