Subversion Repositories SmartDukaan

Rev

Rev 2209 | Rev 5308 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2209 Rev 4779
Line 18... Line 18...
18
	private long catalogItemId;
18
	private long catalogItemId;
19
	private long featureId;
19
	private long featureId;
20
	private String featureDescription;
20
	private String featureDescription;
21
//	private ItemInventory itemInventory;
21
//	private ItemInventory itemInventory;
22
	private double mrp;
22
	private double mrp;
23
	private double mop;
23
	//private double mop;
24
	private double sellingPrice;
24
	private double sellingPrice;
25
	private double dealerPrice;
25
	//private double dealerPrice;
26
	private double weight;
26
	private double weight;
27
	private long addedOn;
27
	private long addedOn;
28
	private long startDate;
28
	private long startDate;
29
	private long retireDate;
29
	private long retireDate;
30
	private long updatedOn;
30
	private long updatedOn;
Line 45... Line 45...
45
	public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
45
	public Item(long id, String productGroup, String brand, String modelNumber, String modelName, String color,
46
			long category, String comments,
46
			long category, String comments,
47
			long catalogItemId, long featureId,
47
			long catalogItemId, long featureId,
48
			String featureDescription, 
48
			String featureDescription, 
49
			//ItemInventory itemInventory,
49
			//ItemInventory itemInventory,
-
 
50
			double mrp,	
-
 
51
			//double mop, 
50
			double mrp,	double mop, double sellingPrice, double dealerPrice, double weight,
52
			double sellingPrice, 
-
 
53
			//double dealerPrice, 
-
 
54
			double weight,
51
			long addedOn, long startDate, long retireDate, long updatedOn,
55
			long addedOn, long startDate, long retireDate, long updatedOn,
52
			//status itemStatus,
56
			//status itemStatus,
53
			Map<String, String> otherInfo,
57
			Map<String, String> otherInfo,
54
			String bestDealsText, double bestDealsValue) {
58
			String bestDealsText, double bestDealsValue) {
55
		this();
59
		this();
Line 64... Line 68...
64
		this.catalogItemId = catalogItemId;
68
		this.catalogItemId = catalogItemId;
65
		this.featureId = featureId;
69
		this.featureId = featureId;
66
		this.featureDescription = featureDescription;
70
		this.featureDescription = featureDescription;
67
		//this.itemInventory = itemInventory;
71
		//this.itemInventory = itemInventory;
68
		this.mrp = mrp;
72
		this.mrp = mrp;
69
		this.mop = mop;
73
		//this.mop = mop;
70
		this.sellingPrice = sellingPrice;
74
		this.sellingPrice = sellingPrice;
71
		this.dealerPrice = dealerPrice;
75
		//this.dealerPrice = dealerPrice;
72
		this.weight = weight;
76
		this.weight = weight;
73
		this.addedOn = addedOn;
77
		this.addedOn = addedOn;
74
		this.startDate = startDate;
78
		this.startDate = startDate;
75
		this.retireDate = retireDate;
79
		this.retireDate = retireDate;
76
		this.updatedOn = updatedOn;
80
		this.updatedOn = updatedOn;
Line 166... Line 170...
166
 
170
 
167
	public void setMrp(double mrp) {
171
	public void setMrp(double mrp) {
168
		this.mrp = mrp;
172
		this.mrp = mrp;
169
	}
173
	}
170
 
174
 
171
	public double getMop() {
175
//	public double getMop() {
172
		return mop;
176
//		return mop;
173
	}
177
//	}
174
 
178
//
175
	public void setMop(double mop) {
179
//	public void setMop(double mop) {
176
		this.mop = mop;
180
//		this.mop = mop;
177
	}
181
//	}
178
 
182
 
179
	public double getSellingPrice() {
183
	public double getSellingPrice() {
180
		return sellingPrice;
184
		return sellingPrice;
181
	}
185
	}
182
 
186
 
Line 238... Line 242...
238
 
242
 
239
	public String getColor() {
243
	public String getColor() {
240
		return color;
244
		return color;
241
	}
245
	}
242
 
246
 
243
	public void setDealerPrice(double dealerPrice) {
247
//	public void setDealerPrice(double dealerPrice) {
244
		this.dealerPrice = dealerPrice;
248
//		this.dealerPrice = dealerPrice;
245
	}
249
//	}
246
 
250
//
247
	public double getDealerPrice() {
251
//	public double getDealerPrice() {
248
		return dealerPrice;
252
//		return dealerPrice;
249
	}
253
//	}
250
 
254
 
251
	public void setBestDealsText(String bestDealsText) {
255
	public void setBestDealsText(String bestDealsText) {
252
		this.bestDealsText = bestDealsText;
256
		this.bestDealsText = bestDealsText;
253
	}
257
	}
254
 
258