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