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