Subversion Repositories SmartDukaan

Rev

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

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