Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1961 ankur.sing 1
package in.shop2020.catalog.dashboard.shared;
2
 
3
import java.io.Serializable;
4
import java.util.Map;
5
 
6
import com.google.gwt.user.client.rpc.IsSerializable;
7
 
8
public class Item implements IsSerializable, Serializable {
9
 
10
    private long id;
11
    private String productGroup;
12
    private String brand;
13
    private String modelNumber;
14
    private String modelName;
15
    private String color;
16
    private long category;
17
    private String comments;
18
    private long catalogItemId;
19
    private long featureId;
20
    private String featureDescription;
21
//  private ItemInventory itemInventory;
22
    private double mrp;
23
    private double mop;
24
    private double sellingPrice;
25
    private double dealerPrice;
26
    private double weight;
27
    private long addedOn;
28
    private long startDate;
29
    private long retireDate;
30
    private long updatedOn;
31
//  private status itemStatus;
32
    private Map<String, String> otherInfo;
33
    private String bestDealsText;
34
    private double bestDealsValue;
35
 
36
    /**
37
     * 
38
     */
39
    private static final long serialVersionUID = -2982668732181655698L;
40
 
41
    public Item() {
42
 
43
    }
44
 
45
    public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
46
            long category, String comments,
47
            long catalogItemId, long featureId,
48
            String featureDescription, 
49
            //ItemInventory itemInventory,
50
            double mrp, double mop, double sellingPrice, double dealerPrice, double weight,
51
            long addedOn, long startDate, long retireDate, long updatedOn,
52
            //status itemStatus,
53
            Map<String, String> otherInfo,
54
            String bestDealsText, double bestDealsValue) {
55
        this();
56
        this.id = id;
57
        this.setProductGroup(productGroup);
58
        this.brand = brand;
59
        this.modelNumber = modelNumber;
60
        this.modelName = modelName;
61
        this.color = color;
62
        this.category = category;
63
        this.comments = comments;
64
        this.catalogItemId = catalogItemId;
65
        this.featureId = featureId;
66
        this.featureDescription = featureDescription;
67
        //this.itemInventory = itemInventory;
68
        this.mrp = mrp;
69
        this.mop = mop;
70
        this.sellingPrice = sellingPrice;
71
        this.dealerPrice = dealerPrice;
72
        this.weight = weight;
73
        this.addedOn = addedOn;
74
        this.startDate = startDate;
75
        this.retireDate = retireDate;
76
        this.updatedOn = updatedOn;
77
        //this.itemStatus = itemStatus;
78
        this.otherInfo = otherInfo;
79
        this.bestDealsText = bestDealsText;
80
        this.bestDealsValue = bestDealsValue;
81
    }
82
 
83
    public long getId() {
84
        return id;
85
    }
86
 
87
    public void setId(long id) {
88
        this.id = id;
89
    }
90
 
91
    public void setProductGroup(String productGroup) {
92
        this.productGroup = productGroup;
93
    }
94
 
95
    public String getProductGroup() {
96
        return productGroup;
97
    }
98
 
99
    public String getBrand() {
100
        return brand;
101
    }
102
 
103
    public void setBrand(String brand) {
104
        this.brand = brand;
105
    }
106
 
107
    public String getModelNumber() {
108
        return modelNumber;
109
    }
110
 
111
    public void setModelNumber(String modelNumber) {
112
        this.modelNumber = modelNumber;
113
    }
114
 
115
    public String getModelName() {
116
        return modelName;
117
    }
118
 
119
    public void setModelName(String modelName) {
120
        this.modelName = modelName;
121
    }
122
 
123
    public long getCategory() {
124
        return category;
125
    }
126
 
127
    public void setCategory(long category) {
128
        this.category = category;
129
    }
130
 
131
    public String getComments() {
132
        return comments;
133
    }
134
 
135
    public void setComments(String comments) {
136
        this.comments = comments;
137
    }
138
 
139
    public long getCatalogItemId() {
140
        return catalogItemId;
141
    }
142
 
143
    public void setCatalogItemId(long catalogItemId) {
144
        this.catalogItemId = catalogItemId;
145
    }
146
 
147
    public long getFeatureId() {
148
        return featureId;
149
    }
150
 
151
    public void setFeatureId(long featureId) {
152
        this.featureId = featureId;
153
    }
154
 
155
    public String getFeatureDescription() {
156
        return featureDescription;
157
    }
158
 
159
    public void setFeatureDescription(String featureDescription) {
160
        this.featureDescription = featureDescription;
161
    }
162
 
163
    public double getMrp() {
164
        return mrp;
165
    }
166
 
167
    public void setMrp(double mrp) {
168
        this.mrp = mrp;
169
    }
170
 
171
    public double getMop() {
172
        return mop;
173
    }
174
 
175
    public void setMop(double mop) {
176
        this.mop = mop;
177
    }
178
 
179
    public double getSellingPrice() {
180
        return sellingPrice;
181
    }
182
 
183
    public void setSellingPrice(double sellingPrice) {
184
        this.sellingPrice = sellingPrice;
185
    }
186
 
187
    public double getWeight() {
188
        return weight;
189
    }
190
 
191
    public void setWeight(double weight) {
192
        this.weight = weight;
193
    }
194
 
195
    public long getAddedOn() {
196
        return addedOn;
197
    }
198
 
199
    public void setAddedOn(long addedOn) {
200
        this.addedOn = addedOn;
201
    }
202
 
203
    public long getStartDate() {
204
        return startDate;
205
    }
206
 
207
    public void setStartDate(long startDate) {
208
        this.startDate = startDate;
209
    }
210
 
211
    public long getRetireDate() {
212
        return retireDate;
213
    }
214
 
215
    public void setRetireDate(long retireDate) {
216
        this.retireDate = retireDate;
217
    }
218
 
219
    public Map<String, String> getOtherInfo() {
220
        return otherInfo;
221
    }
222
 
223
    public void setOtherInfo(Map<String, String> otherInfo) {
224
        this.otherInfo = otherInfo;
225
    }
226
 
227
    public void setUpdatedOn(long updatedOn) {
228
        this.updatedOn = updatedOn;
229
    }
230
 
231
    public long getUpdatedOn() {
232
        return updatedOn;
233
    }
234
 
235
    public void setColor(String color) {
236
        this.color = color;
237
    }
238
 
239
    public String getColor() {
240
        return color;
241
    }
242
 
243
    public void setDealerPrice(double dealerPrice) {
244
        this.dealerPrice = dealerPrice;
245
    }
246
 
247
    public double getDealerPrice() {
248
        return dealerPrice;
249
    }
250
 
251
    public void setBestDealsText(String bestDealsText) {
252
        this.bestDealsText = bestDealsText;
253
    }
254
 
255
    public String getBestDealsText() {
256
        return bestDealsText;
257
    }
258
 
259
    public void setBestDealsValue(double bestDealsValue) {
260
        this.bestDealsValue = bestDealsValue;
261
    }
262
 
263
    public double getBestDealsValue() {
264
        return bestDealsValue;
265
    }
266
 
267
}