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