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 long featureId;
20
	private String featureDescription;
21
//	private ItemInventory itemInventory;
22
	private double mrp;
23
	private double mop;
24
	private double sellingPrice;
608 chandransh 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,
608 chandransh 50
			double mrp,	double mop, double sellingPrice, double dealerPrice, double weight,
51
			long addedOn, long startDate, long retireDate, long updatedOn,
584 chandransh 52
			//status itemStatus,
608 chandransh 53
			Map<String, String> otherInfo,
54
			String bestDealsText, double bestDealsValue) {
584 chandransh 55
		this();
56
		this.id = id;
960 chandransh 57
		this.setProductGroup(productGroup);
58
		this.brand = brand;
584 chandransh 59
		this.modelNumber = modelNumber;
60
		this.modelName = modelName;
608 chandransh 61
		this.color = color;
584 chandransh 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;
608 chandransh 71
		this.dealerPrice = dealerPrice;
584 chandransh 72
		this.weight = weight;
73
		this.addedOn = addedOn;
74
		this.startDate = startDate;
75
		this.retireDate = retireDate;
608 chandransh 76
		this.updatedOn = updatedOn;
584 chandransh 77
		//this.itemStatus = itemStatus;
78
		this.otherInfo = otherInfo;
608 chandransh 79
		this.bestDealsText = bestDealsText;
80
		this.bestDealsValue = bestDealsValue;
584 chandransh 81
	}
82
 
83
	public long getId() {
84
		return id;
85
	}
86
 
87
	public void setId(long id) {
88
		this.id = id;
89
	}
90
 
960 chandransh 91
	public void setProductGroup(String productGroup) {
92
		this.productGroup = productGroup;
584 chandransh 93
	}
94
 
960 chandransh 95
	public String getProductGroup() {
96
		return productGroup;
584 chandransh 97
	}
98
 
960 chandransh 99
	public String getBrand() {
100
		return brand;
101
	}
102
 
103
	public void setBrand(String brand) {
104
		this.brand = brand;
105
	}
106
 
584 chandransh 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
 
625 chandransh 123
	public long getCategory() {
584 chandransh 124
		return category;
125
	}
126
 
625 chandransh 127
	public void setCategory(long category) {
584 chandransh 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
 
608 chandransh 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
 
584 chandransh 267
}