Subversion Repositories SmartDukaan

Rev

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

Rev 2119 Rev 2126
Line 17... Line 17...
17
    private String brand;
17
    private String brand;
18
    private String modelNumber;
18
    private String modelNumber;
19
    private String modelName;
19
    private String modelName;
20
    private String color;
20
    private String color;
21
    private String contentCategory;
21
    private String contentCategory;
-
 
22
    private long contentCategoryId;
22
    private String comments;
23
    private String comments;
23
    private long catalogItemId;
24
    private long catalogItemId;
24
    private long featureId;
25
    private long featureId;
25
    private String featureDescription;
26
    private String featureDescription;
26
    private double mrp;
27
    private double mrp = -1;
27
    private double mop;
28
    private double mop;
28
    private double sellingPrice;
29
    private double sellingPrice = -1;
29
    private double dealerPrice;
30
    private double dealerPrice;
30
    private double transferPrice;
31
    private double transferPrice;
31
    private double weight;
32
    private double weight = -1;
32
    private long addedOn;
33
    private long addedOn;
33
    private long updatedOn;
34
    private long updatedOn;
34
    private long startDate;
35
    private long startDate;
35
    private long retireDate;
36
    private long retireDate;
36
    private String itemStatus;
37
    private String itemStatus;
-
 
38
    private int itemStatusValue;
37
    private String bestDealsText;
39
    private String bestDealsText;
38
    private double bestDealsValue;
40
    private double bestDealsValue = -1;
39
    
41
    
40
    private long bestSellingRank;
42
    private long bestSellingRank = -1;
41
    private boolean defaultForEntity;
43
    private boolean defaultForEntity;
42
    
44
    
43
    private Map<String, String> otherInfo;
45
    private Map<String, String> otherInfo;
44
    private Map<Long, Long> availability;
46
    private Map<Long, Long> availability;
45
    
47
    
Line 52... Line 54...
52
    public Item() {
54
    public Item() {
53
        
55
        
54
    }
56
    }
55
 
57
 
56
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
58
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
57
            String category, String comments,
59
            String category, long categoryId, String comments,
58
            long catalogItemId, long featureId,
60
            long catalogItemId, long featureId,
59
            String featureDescription, 
61
            String featureDescription, 
60
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
62
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
61
            long addedOn, long startDate, long retireDate, long updatedOn,
63
            long addedOn, long startDate, long retireDate, long updatedOn,
62
            String itemStatus,
64
            String itemStatus, int itemStatusValue,
63
            Map<String, String> otherInfo,
65
            Map<String, String> otherInfo,
64
            String bestDealsText, double bestDealsValue, long bestSellingRank, boolean defaultForEntity, 
66
            String bestDealsText, double bestDealsValue, long bestSellingRank, boolean defaultForEntity, 
65
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<Long, VendorItemMapping> vendorMappingsMap) {
67
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<Long, VendorItemMapping> vendorMappingsMap) {
66
        this();
68
        this();
67
        this.id = id;
69
        this.id = id;
Line 69... Line 71...
69
        this.brand = brand;
71
        this.brand = brand;
70
        this.modelNumber = modelNumber;
72
        this.modelNumber = modelNumber;
71
        this.modelName = modelName;
73
        this.modelName = modelName;
72
        this.color = color;
74
        this.color = color;
73
        this.contentCategory = category;
75
        this.contentCategory = category;
-
 
76
        this.contentCategoryId = categoryId;
74
        this.comments = comments;
77
        this.comments = comments;
75
        this.catalogItemId = catalogItemId;
78
        this.catalogItemId = catalogItemId;
76
        this.featureId = featureId;
79
        this.featureId = featureId;
77
        this.featureDescription = featureDescription;
80
        this.featureDescription = featureDescription;
78
        this.mrp = mrp;
81
        this.mrp = mrp;
Line 83... Line 86...
83
        this.addedOn = addedOn;
86
        this.addedOn = addedOn;
84
        this.startDate = startDate;
87
        this.startDate = startDate;
85
        this.retireDate = retireDate;
88
        this.retireDate = retireDate;
86
        this.updatedOn = updatedOn;
89
        this.updatedOn = updatedOn;
87
        this.itemStatus = itemStatus;
90
        this.itemStatus = itemStatus;
-
 
91
        this.itemStatusValue = itemStatusValue;
88
        this.otherInfo = otherInfo;
92
        this.otherInfo = otherInfo;
89
        this.bestDealsText = bestDealsText;
93
        this.bestDealsText = bestDealsText;
90
        this.bestDealsValue = bestDealsValue;
94
        this.bestDealsValue = bestDealsValue;
91
        this.bestSellingRank = bestSellingRank;
95
        this.bestSellingRank = bestSellingRank;
92
        this.defaultForEntity = defaultForEntity;
96
        this.defaultForEntity = defaultForEntity;
Line 343... Line 347...
343
 
347
 
344
    public void setVendorMappingsMap(Map<Long, VendorItemMapping> vendorMappingsMap) {
348
    public void setVendorMappingsMap(Map<Long, VendorItemMapping> vendorMappingsMap) {
345
        this.vendorMappingsMap = vendorMappingsMap;
349
        this.vendorMappingsMap = vendorMappingsMap;
346
    }
350
    }
347
 
351
 
-
 
352
    public long getContentCategoryId() {
-
 
353
        return contentCategoryId;
-
 
354
    }
-
 
355
 
-
 
356
    public void setContentCategoryId(long contentCategoryId) {
-
 
357
        this.contentCategoryId = contentCategoryId;
-
 
358
    }
-
 
359
 
-
 
360
    public int getItemStatusValue() {
-
 
361
        return itemStatusValue;
-
 
362
    }
-
 
363
 
-
 
364
    public void setItemStatusValue(int itemStatusValue) {
-
 
365
        this.itemStatusValue = itemStatusValue;
-
 
366
    }
-
 
367
 
348
}
368
}