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