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
 
3
import java.util.Map;
4
 
5
import com.google.gwt.user.client.rpc.IsSerializable;
6
 
7
public class Item implements IsSerializable {
8
 
9
	private long id;
10
	private String manufacturerName;
11
	private String modelNumber;
12
	private String modelName;
13
	private String category;
14
	private String comments;
15
	private long catalogItemId;
16
	private String vendorItemId;
17
	private long featureId;
18
	private String featureDescription;
19
//	private ItemInventory itemInventory;
20
	private double mrp;
21
	private double mop;
22
	private double sellingPrice;
23
	private double weight;
24
	private long addedOn;
25
	private long startDate;
26
	private long retireDate;
27
//	private status itemStatus;
28
	private Map<String, String> otherInfo;
29
 
30
	/**
31
	 * 
32
	 */
33
	private static final long serialVersionUID = -2982668732181655698L;
34
 
35
	public Item() {
36
 
37
	}
38
 
39
	public Item(long id, String manufacturerName, String modelNumber,
40
			String modelName, String category, String comments,
41
			long catalogItemId, String vendorItemId, long featureId,
42
			String featureDescription, 
43
			//ItemInventory itemInventory,
44
			double mrp,
45
			double mop, double sellingPrice, double weight, long addedOn,
46
			long startDate, long retireDate, 
47
			//status itemStatus,
48
			Map<String, String> otherInfo) {
49
		this();
50
		this.id = id;
51
		this.manufacturerName = manufacturerName;
52
		this.modelNumber = modelNumber;
53
		this.modelName = modelName;
54
		this.category = category;
55
		this.comments = comments;
56
		this.catalogItemId = catalogItemId;
57
		this.vendorItemId = vendorItemId;
58
		this.featureId = featureId;
59
		this.featureDescription = featureDescription;
60
		//this.itemInventory = itemInventory;
61
		this.mrp = mrp;
62
		this.mop = mop;
63
		this.sellingPrice = sellingPrice;
64
		this.weight = weight;
65
		this.addedOn = addedOn;
66
		this.startDate = startDate;
67
		this.retireDate = retireDate;
68
		//this.itemStatus = itemStatus;
69
		this.otherInfo = otherInfo;
70
	}
71
 
72
	public long getId() {
73
		return id;
74
	}
75
 
76
	public void setId(long id) {
77
		this.id = id;
78
	}
79
 
80
	public String getManufacturerName() {
81
		return manufacturerName;
82
	}
83
 
84
	public void setManufacturerName(String manufacturerName) {
85
		this.manufacturerName = manufacturerName;
86
	}
87
 
88
	public String getModelNumber() {
89
		return modelNumber;
90
	}
91
 
92
	public void setModelNumber(String modelNumber) {
93
		this.modelNumber = modelNumber;
94
	}
95
 
96
	public String getModelName() {
97
		return modelName;
98
	}
99
 
100
	public void setModelName(String modelName) {
101
		this.modelName = modelName;
102
	}
103
 
104
	public String getCategory() {
105
		return category;
106
	}
107
 
108
	public void setCategory(String category) {
109
		this.category = category;
110
	}
111
 
112
	public String getComments() {
113
		return comments;
114
	}
115
 
116
	public void setComments(String comments) {
117
		this.comments = comments;
118
	}
119
 
120
	public long getCatalogItemId() {
121
		return catalogItemId;
122
	}
123
 
124
	public void setCatalogItemId(long catalogItemId) {
125
		this.catalogItemId = catalogItemId;
126
	}
127
 
128
	public String getVendorItemId() {
129
		return vendorItemId;
130
	}
131
 
132
	public void setVendorItemId(String vendorItemId) {
133
		this.vendorItemId = vendorItemId;
134
	}
135
 
136
	public long getFeatureId() {
137
		return featureId;
138
	}
139
 
140
	public void setFeatureId(long featureId) {
141
		this.featureId = featureId;
142
	}
143
 
144
	public String getFeatureDescription() {
145
		return featureDescription;
146
	}
147
 
148
	public void setFeatureDescription(String featureDescription) {
149
		this.featureDescription = featureDescription;
150
	}
151
 
152
	public double getMrp() {
153
		return mrp;
154
	}
155
 
156
	public void setMrp(double mrp) {
157
		this.mrp = mrp;
158
	}
159
 
160
	public double getMop() {
161
		return mop;
162
	}
163
 
164
	public void setMop(double mop) {
165
		this.mop = mop;
166
	}
167
 
168
	public double getSellingPrice() {
169
		return sellingPrice;
170
	}
171
 
172
	public void setSellingPrice(double sellingPrice) {
173
		this.sellingPrice = sellingPrice;
174
	}
175
 
176
	public double getWeight() {
177
		return weight;
178
	}
179
 
180
	public void setWeight(double weight) {
181
		this.weight = weight;
182
	}
183
 
184
	public long getAddedOn() {
185
		return addedOn;
186
	}
187
 
188
	public void setAddedOn(long addedOn) {
189
		this.addedOn = addedOn;
190
	}
191
 
192
	public long getStartDate() {
193
		return startDate;
194
	}
195
 
196
	public void setStartDate(long startDate) {
197
		this.startDate = startDate;
198
	}
199
 
200
	public long getRetireDate() {
201
		return retireDate;
202
	}
203
 
204
	public void setRetireDate(long retireDate) {
205
		this.retireDate = retireDate;
206
	}
207
 
208
	public Map<String, String> getOtherInfo() {
209
		return otherInfo;
210
	}
211
 
212
	public void setOtherInfo(Map<String, String> otherInfo) {
213
		this.otherInfo = otherInfo;
214
	}
215
 
216
}