Subversion Repositories SmartDukaan

Rev

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