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