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