Subversion Repositories SmartDukaan

Rev

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