Subversion Repositories SmartDukaan

Rev

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

Rev 4506 Rev 4762
Line 11... Line 11...
11
 */
11
 */
12
public class Item implements IsSerializable, Serializable {
12
public class Item implements IsSerializable, Serializable {
13
    
13
    
14
    private long id;
14
    private long id;
15
    
15
    
16
    private String vendorCategory;
-
 
17
    private String productGroup;
16
    private String productGroup;
18
    private String brand;
17
    private String brand;
19
    private String modelNumber;
18
    private String modelNumber;
20
    private String modelName;
19
    private String modelName;
21
    private String color;
20
    private String color;
Line 38... Line 37...
38
    private String bestDealsText;
37
    private String bestDealsText;
39
    private Double bestDealsValue;
38
    private Double bestDealsValue;
40
    private Long bestSellingRank;
39
    private Long bestSellingRank;
41
    private boolean defaultForEntity, risky, warehouseStickiness;
40
    private boolean defaultForEntity, risky, warehouseStickiness;
42
    private Integer expectedDelay;
41
    private Integer expectedDelay;
43
    private String preferredWarehouse;
42
    private Long preferredWarehouse;
44
    private String defaultWarehouse;
43
    private Long defaultWarehouse;
45
    private Long preferredVendor;
44
    private Long preferredVendor;
46
    
45
    
47
    
46
    
48
 
47
 
49
    private Map<String, String> otherInfo;
48
    private Map<String, String> otherInfo;
Line 58... Line 57...
58
    private static final long serialVersionUID = -2982668732181655698L;
57
    private static final long serialVersionUID = -2982668732181655698L;
59
 
58
 
60
    public Item() {
59
    public Item() {
61
    }
60
    }
62
 
61
 
63
    public Item(long id, String vendorCategory, String productGroup, String brand, String modelNumber, String modelName, String color,
62
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
64
            String category, Long categoryId, String comments,
63
            String category, Long categoryId, String comments,
65
            Long catalogItemId,
64
            Long catalogItemId,
66
            Long featureId,
65
            Long featureId,
67
            String featureDescription, 
66
            String featureDescription, 
68
            Double mrp,
67
            Double mrp,
Line 71... Line 70...
71
            Long addedOn, Long startDate, Long retireDate, Long updatedOn,
70
            Long addedOn, Long startDate, Long retireDate, Long updatedOn,
72
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
71
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
73
            Map<String, String> otherInfo,
72
            Map<String, String> otherInfo,
74
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
73
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
75
            Integer expectedDelay,
74
            Integer expectedDelay,
76
            String prefferedWarehouse, String defaultWarehouse, boolean warehouseStickiness,
75
            Long prefferedWarehouse, Long defaultWarehouse, boolean warehouseStickiness,
77
            Long prefferedVendor,
76
            Long prefferedVendor,
78
            Map<Long, ItemInventory> itemInventory,
77
            Map<Long, ItemInventory> itemInventory,
79
            Map<Long,VendorPricings> vendorPricesMap, 
78
            Map<Long,VendorPricings> vendorPricesMap, 
80
            Map<String, VendorItemMapping> vendorKeysMap, 
79
            Map<String, VendorItemMapping> vendorKeysMap, 
81
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems) {
80
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems) {
82
        this();
81
        this();
83
        this.id = id;
82
        this.id = id;
84
        this.vendorCategory = vendorCategory;
-
 
85
        this.productGroup = productGroup;
83
        this.productGroup = productGroup;
86
        this.brand = brand;
84
        this.brand = brand;
87
        this.modelNumber = modelNumber;
85
        this.modelNumber = modelNumber;
88
        this.modelName = modelName;
86
        this.modelName = modelName;
89
        this.color = color;
87
        this.color = color;
Line 129... Line 127...
129
 
127
 
130
    public void setId(long id) {
128
    public void setId(long id) {
131
        this.id = id;
129
        this.id = id;
132
    }
130
    }
133
 
131
 
134
    public String getVendorCategory() {
-
 
135
        return vendorCategory;
-
 
136
    }
-
 
137
 
-
 
138
    public void setVendorCategory(String vendorCategory) {
-
 
139
        this.vendorCategory = vendorCategory;
-
 
140
    }
-
 
141
 
-
 
142
    public String getProductGroup() {
132
    public String getProductGroup() {
143
        return productGroup;
133
        return productGroup;
144
    }
134
    }
145
 
135
 
146
    public void setProductGroup(String productGroup) {
136
    public void setProductGroup(String productGroup) {
Line 353... Line 343...
353
 
343
 
354
    public Integer getExpectedDelay() {
344
    public Integer getExpectedDelay() {
355
        return expectedDelay;
345
        return expectedDelay;
356
    }
346
    }
357
 
347
 
358
    public void setPreferredWarehouse(String preferredWarehouse) {
348
    public void setPreferredWarehouse(Long preferredWarehouse) {
359
        this.preferredWarehouse = preferredWarehouse;
349
        this.preferredWarehouse = preferredWarehouse;
360
    }
350
    }
361
 
351
 
362
    public String getPreferredWarehouse() {
352
    public Long getPreferredWarehouse() {
363
        return preferredWarehouse;
353
        return preferredWarehouse;
364
    }
354
    }
365
 
355
 
366
    public Map<String, String> getOtherInfo() {
356
    public Map<String, String> getOtherInfo() {
367
        return otherInfo;
357
        return otherInfo;
Line 401... Line 391...
401
 
391
 
402
    public void setWarehouseStickiness(boolean warehouseStickiness) {
392
    public void setWarehouseStickiness(boolean warehouseStickiness) {
403
        this.warehouseStickiness = warehouseStickiness;
393
        this.warehouseStickiness = warehouseStickiness;
404
    }
394
    }
405
 
395
 
406
    public String getDefaultWarehouse() {
396
    public Long getDefaultWarehouse() {
407
        return defaultWarehouse;
397
        return defaultWarehouse;
408
    }
398
    }
409
 
399
 
410
    public void setDefaultWarehouse(String defaultWarehouse) {
400
    public void setDefaultWarehouse(Long defaultWarehouse) {
411
        this.defaultWarehouse = defaultWarehouse;
401
        this.defaultWarehouse = defaultWarehouse;
412
    }
402
    }
413
 
403
 
414
    public void setSimilarItems(Map<Long, Item> similarItems) {
404
    public void setSimilarItems(Map<Long, Item> similarItems) {
415
        this.similarItems = similarItems;
405
        this.similarItems = similarItems;