Subversion Repositories SmartDukaan

Rev

Rev 2489 | Rev 3361 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2489 Rev 3359
Line 24... Line 24...
24
    private String comments;
24
    private String comments;
25
    private Long catalogItemId;
25
    private Long catalogItemId;
26
    private Long featureId;
26
    private Long featureId;
27
    private String featureDescription;
27
    private String featureDescription;
28
    private Double mrp;
28
    private Double mrp;
29
    private Double mop;
-
 
30
    private Double sellingPrice;
29
    private Double sellingPrice;
31
    private Double dealerPrice;
-
 
32
    private Double transferPrice;
-
 
33
    private Double weight;
30
    private Double weight;
34
    private Long addedOn;
31
    private Long addedOn;
35
    private Long updatedOn;
32
    private Long updatedOn;
36
    private Long startDate;
33
    private Long startDate;
37
    private Long retireDate;
34
    private Long retireDate;
Line 40... Line 37...
40
    private Integer itemStatusValue;
37
    private Integer itemStatusValue;
41
    private String bestDealsText;
38
    private String bestDealsText;
42
    private Double bestDealsValue;
39
    private Double bestDealsValue;
43
    private Long bestSellingRank;
40
    private Long bestSellingRank;
44
    private boolean defaultForEntity, risky;
41
    private boolean defaultForEntity, risky;
-
 
42
    private Integer expectedDelay;
-
 
43
    private Long preferredWarehouse;
45
 
44
 
46
    private Map<String, String> otherInfo;
45
    private Map<String, String> otherInfo;
47
    private Map<Long, Long> availability;
46
    private Map<Long, Long> availability;
48
    
47
    
49
    private Map<Long, VendorPricings> vendorPricesMap;
48
    private Map<Long, VendorPricings> vendorPricesMap;
Line 55... Line 54...
55
    public Item() {
54
    public Item() {
56
    }
55
    }
57
 
56
 
58
    public Item(long id, String vendorCategory, String productGroup, String brand, String modelNumber, String modelName, String color,
57
    public Item(long id, String vendorCategory, String productGroup, String brand, String modelNumber, String modelName, String color,
59
            String category, Long categoryId, String comments,
58
            String category, Long categoryId, String comments,
60
            Long catalogItemId, Long featureId,
59
            Long catalogItemId,
-
 
60
            Long featureId,
61
            String featureDescription, 
61
            String featureDescription, 
-
 
62
            Double mrp,
62
            Double mrp, Double mop, Double sellingPrice, Double dealerPrice, Double weight,
63
            Double sellingPrice,
-
 
64
            Double weight,
63
            Long addedOn, Long startDate, Long retireDate, Long updatedOn,
65
            Long addedOn, Long startDate, Long retireDate, Long updatedOn,
64
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
66
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
65
            Map<String, String> otherInfo,
67
            Map<String, String> otherInfo,
66
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
68
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
-
 
69
            Integer expectedDelay,
-
 
70
            Long prefferedWarehouse,
67
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<String, VendorItemMapping> vendorKeysMap) {
71
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<String, VendorItemMapping> vendorKeysMap) {
68
        this();
72
        this();
69
        this.id = id;
73
        this.id = id;
70
        this.vendorCategory = vendorCategory;
74
        this.vendorCategory = vendorCategory;
71
        this.productGroup = productGroup;
75
        this.productGroup = productGroup;
Line 78... Line 82...
78
        this.comments = comments;
82
        this.comments = comments;
79
        this.catalogItemId = catalogItemId;
83
        this.catalogItemId = catalogItemId;
80
        this.featureId = featureId;
84
        this.featureId = featureId;
81
        this.featureDescription = featureDescription;
85
        this.featureDescription = featureDescription;
82
        this.mrp = mrp;
86
        this.mrp = mrp;
83
        this.mop = mop;
-
 
84
        this.sellingPrice = sellingPrice;
87
        this.sellingPrice = sellingPrice;
85
        this.dealerPrice = dealerPrice;
-
 
86
        this.weight = weight;
88
        this.weight = weight;
87
        this.addedOn = addedOn;
89
        this.addedOn = addedOn;
88
        this.startDate = startDate;
90
        this.startDate = startDate;
89
        this.retireDate = retireDate;
91
        this.retireDate = retireDate;
90
        this.updatedOn = updatedOn;
92
        this.updatedOn = updatedOn;
Line 95... Line 97...
95
        this.bestDealsText = bestDealsText;
97
        this.bestDealsText = bestDealsText;
96
        this.bestDealsValue = bestDealsValue;
98
        this.bestDealsValue = bestDealsValue;
97
        this.bestSellingRank = bestSellingRank;
99
        this.bestSellingRank = bestSellingRank;
98
        this.defaultForEntity = defaultForEntity;
100
        this.defaultForEntity = defaultForEntity;
99
        this.risky = risky;
101
        this.risky = risky;
-
 
102
        this.expectedDelay = expectedDelay;
-
 
103
        this.preferredWarehouse = prefferedWarehouse;
100
        
104
        
101
        this.availability = availability;
105
        this.availability = availability;
102
        
106
        
103
        this.vendorPricesMap = vendorPricesMap;
107
        this.vendorPricesMap = vendorPricesMap;
104
        this.vendorKeysMap = vendorKeysMap;
108
        this.vendorKeysMap = vendorKeysMap;
Line 214... Line 218...
214
 
218
 
215
    public void setMrp(Double mrp) {
219
    public void setMrp(Double mrp) {
216
        this.mrp = mrp;
220
        this.mrp = mrp;
217
    }
221
    }
218
 
222
 
219
    public Double getMop() {
-
 
220
        return mop;
-
 
221
    }
-
 
222
 
-
 
223
    public void setMop(Double mop) {
-
 
224
        this.mop = mop;
-
 
225
    }
-
 
226
 
-
 
227
    public Double getSellingPrice() {
223
    public Double getSellingPrice() {
228
        return sellingPrice;
224
        return sellingPrice;
229
    }
225
    }
230
 
226
 
231
    public void setSellingPrice(Double sellingPrice) {
227
    public void setSellingPrice(Double sellingPrice) {
232
        this.sellingPrice = sellingPrice;
228
        this.sellingPrice = sellingPrice;
233
    }
229
    }
234
 
230
 
235
    public Double getDealerPrice() {
-
 
236
        return dealerPrice;
-
 
237
    }
-
 
238
 
-
 
239
    public void setDealerPrice(Double dealerPrice) {
-
 
240
        this.dealerPrice = dealerPrice;
-
 
241
    }
-
 
242
 
-
 
243
    public Double getTransferPrice() {
-
 
244
        return transferPrice;
-
 
245
    }
-
 
246
 
-
 
247
    public void setTransferPrice(Double transferPrice) {
-
 
248
        this.transferPrice = transferPrice;
-
 
249
    }
-
 
250
 
-
 
251
    public Double getWeight() {
231
    public Double getWeight() {
252
        return weight;
232
        return weight;
253
    }
233
    }
254
 
234
 
255
    public void setWeight(Double weight) {
235
    public void setWeight(Double weight) {
Line 350... Line 330...
350
 
330
 
351
    public void setRisky(boolean risky) {
331
    public void setRisky(boolean risky) {
352
        this.risky = risky;
332
        this.risky = risky;
353
    }
333
    }
354
 
334
 
-
 
335
    public void setExpectedDelay(int expectedDelay) {
-
 
336
        this.expectedDelay = expectedDelay;
-
 
337
    }
-
 
338
 
-
 
339
    public Integer getExpectedDelay() {
-
 
340
        return expectedDelay;
-
 
341
    }
-
 
342
 
-
 
343
    public void setPreferredWarehouse(Long preferredWarehouse) {
-
 
344
        this.preferredWarehouse = preferredWarehouse;
-
 
345
    }
-
 
346
 
-
 
347
    public Long getPreferredWarehouse() {
-
 
348
        return preferredWarehouse;
-
 
349
    }
-
 
350
 
355
    public Map<String, String> getOtherInfo() {
351
    public Map<String, String> getOtherInfo() {
356
        return otherInfo;
352
        return otherInfo;
357
    }
353
    }
358
 
354
 
359
    public void setOtherInfo(Map<String, String> otherInfo) {
355
    public void setOtherInfo(Map<String, String> otherInfo) {