Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
167 ashish 1
package in.shop2020.hotspot.dashbaord.shared.actions;
2
 
3
import com.google.gwt.user.client.rpc.IsSerializable;
4
 
5
public class Order implements IsSerializable{
6
 
7
	private static final long serialVersionUID = 5804421607858217477L;
8
 
484 rajveer 9
	private long orderId;
167 ashish 10
	private long customerId;
484 rajveer 11
	private String customerName;
12
	private String customerMobileNumber;
13
	private String customerPincode;
737 chandransh 14
	private String customerAddress1;
15
	private String customerAddress2;
671 chandransh 16
	private String customerCity;
17
	private String customerState;
484 rajveer 18
	private String customerEmail;
19
 
167 ashish 20
	private long createdOn;
21
	private long expectedDeliveryTime;
484 rajveer 22
 
23
	private long status;
167 ashish 24
	private String statusMessage;
25
 
706 chandransh 26
	private long itemId;
966 chandransh 27
	private String productGroup;
28
	private String brand;
484 rajveer 29
	private String modelName;
30
	private String modelNumber;
914 chandransh 31
	private String color;
484 rajveer 32
	private String extraInfo;
167 ashish 33
 
484 rajveer 34
	private double totalAmount;
35
	private double totalWeight;
306 ashish 36
 
486 rajveer 37
	private String airwayBillNo;
38
	private String billedBy;
39
	private String invoiceNumber;
639 chandransh 40
	private long jacketNumber;
41
 
484 rajveer 42
	private boolean alert;
306 ashish 43
 
167 ashish 44
	@SuppressWarnings("unused")
740 chandransh 45
	private Order(){}
484 rajveer 46
 
47
	public Order(long orderId, long customerId, String customerName,
48
			String customerMobileNumber, String customerPincode,
737 chandransh 49
			String customerAddress1, String customerAddress2, String customerCity, String customerState, String customerEmail, long createdOn,
484 rajveer 50
			long expectedDeliveryTime, long status, String statusMessage,
966 chandransh 51
			long itemId, String productGroup, String brand, String modelName,
914 chandransh 52
			String modelNumber, String color, String extraInfo, double totalAmount,
486 rajveer 53
			double totalWeight, String airwayBillNo, String billedBy,
639 chandransh 54
			String invoiceNumber, long jacketNumber, boolean alert) {
484 rajveer 55
		super();
56
		this.orderId = orderId;
167 ashish 57
		this.customerId = customerId;
484 rajveer 58
		this.customerName = customerName;
59
		this.customerMobileNumber = customerMobileNumber;
60
		this.customerPincode = customerPincode;
737 chandransh 61
		this.customerAddress1 = customerAddress1;
740 chandransh 62
		this.customerAddress2 = customerAddress2;
671 chandransh 63
		this.customerCity = customerCity;
64
		this.customerState = customerState;
484 rajveer 65
		this.customerEmail = customerEmail;
167 ashish 66
		this.createdOn = createdOn;
67
		this.expectedDeliveryTime = expectedDeliveryTime;
740 chandransh 68
		this.status = status;
484 rajveer 69
		this.statusMessage = statusMessage;
740 chandransh 70
		this.itemId = itemId;
966 chandransh 71
		this.productGroup = productGroup;
72
		this.brand = brand;
484 rajveer 73
		this.modelName = modelName;
74
		this.modelNumber = modelNumber;
914 chandransh 75
		this.color = color;
484 rajveer 76
		this.extraInfo = extraInfo;
77
		this.totalAmount = totalAmount;
78
		this.totalWeight = totalWeight;
486 rajveer 79
		this.airwayBillNo = airwayBillNo;
80
		this.billedBy = billedBy;
639 chandransh 81
		this.invoiceNumber = invoiceNumber;
82
		this.jacketNumber = jacketNumber;
484 rajveer 83
		this.alert = alert;
167 ashish 84
	}
85
 
86
	public long getCustomerId() {
87
		return customerId;
88
	}
89
 
90
 
91
	public long getCreatedOn() {
92
		return createdOn;
93
	}
94
 
95
	public long getExpectedDeliveryTime() {
96
		return expectedDeliveryTime;
97
	}
98
 
306 ashish 99
	public void setStatusMessage(String message){
100
		this.statusMessage = message;
101
	}
102
 
167 ashish 103
	public String getStatusMessage() {
104
		return statusMessage;
306 ashish 105
	}
106
 
107
	public boolean isAlert() {
108
		return alert;
109
	}
110
 
111
	public void setAlert(boolean alert) {
112
		this.alert = alert;
113
	}
114
 
484 rajveer 115
	public void setOrderId(long orderId) {
116
		this.orderId = orderId;
306 ashish 117
	}
118
 
484 rajveer 119
	public long getOrderId() {
120
		return orderId;
306 ashish 121
	}
122
 
484 rajveer 123
	public void setCustomerName(String customerName) {
124
		this.customerName = customerName;
306 ashish 125
	}
126
 
484 rajveer 127
	public String getCustomerName() {
128
		return customerName;
129
	}
130
 
131
	public void setCustomerMobileNumber(String customerMobileNumber) {
132
		this.customerMobileNumber = customerMobileNumber;
133
	}
134
 
135
	public String getCustomerMobileNumber() {
136
		return customerMobileNumber;
137
	}
138
 
139
	public void setCustomerPincode(String customerPincode) {
140
		this.customerPincode = customerPincode;
141
	}
142
 
143
	public String getCustomerPincode() {
144
		return customerPincode;
145
	}
146
 
147
	public void setCustomerEmail(String customerEmail) {
148
		this.customerEmail = customerEmail;
149
	}
150
 
151
	public String getCustomerEmail() {
152
		return customerEmail;
153
	}
154
 
737 chandransh 155
	public void setCustomerAddress1(String customerAddress) {
156
		this.customerAddress1 = customerAddress;
484 rajveer 157
	}
158
 
737 chandransh 159
	public String getCustomerAddress1() {
160
		return customerAddress1;
484 rajveer 161
	}
737 chandransh 162
 
163
	public void setCustomerAddress2(String customerAddress2) {
164
		this.customerAddress2 = customerAddress2;
165
	}
484 rajveer 166
 
737 chandransh 167
	public String getCustomerAddress2() {
168
		return customerAddress2;
169
	}
170
 
671 chandransh 171
	public String getCustomerCity() {
172
		return customerCity;
173
	}
174
 
175
	public void setCustomerCity(String customerCity) {
176
		this.customerCity = customerCity;
177
	}
178
 
179
	public String getCustomerState() {
180
		return customerState;
181
	}
182
 
183
	public void setCustomerState(String customerState) {
184
		this.customerState = customerState;
185
	}
186
 
484 rajveer 187
	public void setModelName(String modelName) {
188
		this.modelName = modelName;
189
	}
190
 
191
	public String getModelName() {
192
		return modelName;
193
	}
194
 
195
	public void setTotalWeight(double totalWeight) {
196
		this.totalWeight = totalWeight;
197
	}
198
 
199
	public double getTotalWeight() {
200
		return totalWeight;
201
	}
202
 
203
	public void setTotalAmount(double totalAmount) {
204
		this.totalAmount = totalAmount;
205
	}
206
 
207
	public double getTotalAmount() {
208
		return totalAmount;
209
	}
210
 
706 chandransh 211
	public void setItemId(long itemId) {
212
		this.itemId = itemId;
213
	}
214
 
215
	public long getItemId() {
216
		return itemId;
217
	}
218
 
966 chandransh 219
	public void setProductGroup(String productGroup) {
220
		this.productGroup = productGroup;
484 rajveer 221
	}
222
 
966 chandransh 223
	public String getProductGroup() {
224
		return productGroup;
306 ashish 225
	}
226
 
966 chandransh 227
	public void setBrand(String brand) {
228
		this.brand = brand;
229
	}
230
 
231
	public String getBrand() {
232
		return brand;
233
	}
234
 
235
	public void setModelNumber(String modelNumber) {
236
		this.modelNumber = modelNumber;
237
	}
238
 
239
	public String getModelNumber() {
240
		return modelNumber;
241
	}
242
 
243
	public String getColor() {
244
		return color;
245
	}
246
 
247
	public void setColor(String color) {
248
		this.color = color;
249
	}
250
 
251
	public void setExtraInfo(String extraInfo) {
252
		this.extraInfo = extraInfo;
253
	}
254
 
255
	public String getExtraInfo() {
256
		return extraInfo;
257
	}
258
 
484 rajveer 259
	public void setStatus(long status) {
260
		this.status = status;
306 ashish 261
	}
262
 
484 rajveer 263
	public long getStatus() {
264
		return status;
265
	}
266
 
486 rajveer 267
	public void setAirwayBillNo(String airwayBillNo) {
268
		this.airwayBillNo = airwayBillNo;
269
	}
270
 
271
	public String getAirwayBillNo() {
272
		return airwayBillNo;
273
	}
274
 
275
	public void setBilledBy(String billedBy) {
276
		this.billedBy = billedBy;
277
	}
278
 
279
	public String getBilledBy() {
280
		return billedBy;
281
	}
282
 
283
	public void setInvoiceNumber(String invoiceNumber) {
284
		this.invoiceNumber = invoiceNumber;
285
	}
286
 
287
	public String getInvoiceNumber() {
288
		return invoiceNumber;
289
	}
290
 
639 chandransh 291
	public long getJacketNumber() {
292
		return jacketNumber;
293
	}
294
 
295
	public void setJacketNumber(long jacketNumber) {
296
		this.jacketNumber = jacketNumber;
297
	}
167 ashish 298
}