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
 
484 rajveer 32
	private boolean alert;
306 ashish 33
 
167 ashish 34
	@SuppressWarnings("unused")
35
	private Order(){ }
484 rajveer 36
 
37
	public Order(long orderId, long customerId, String customerName,
38
			String customerMobileNumber, String customerPincode,
39
			String customerAddress, String customerEmail, long createdOn,
40
			long expectedDeliveryTime, long status, String statusMessage,
41
			String skuId, String vendor, String modelName,
42
			String modelNumber, String extraInfo, double totalAmount,
43
			double totalWeight, boolean alert) {
44
		super();
45
		this.orderId = orderId;
167 ashish 46
		this.customerId = customerId;
484 rajveer 47
		this.customerName = customerName;
48
		this.customerMobileNumber = customerMobileNumber;
49
		this.customerPincode = customerPincode;
50
		this.customerAddress = customerAddress;
51
		this.customerEmail = customerEmail;
167 ashish 52
		this.createdOn = createdOn;
53
		this.expectedDeliveryTime = expectedDeliveryTime;
484 rajveer 54
		this.setStatus(status);
55
		this.statusMessage = statusMessage;
56
		this.skuId = skuId;
306 ashish 57
		this.vendor = vendor;
484 rajveer 58
		this.modelName = modelName;
59
		this.modelNumber = modelNumber;
60
		this.extraInfo = extraInfo;
61
		this.totalAmount = totalAmount;
62
		this.totalWeight = totalWeight;
63
		this.alert = alert;
167 ashish 64
	}
65
 
66
	public long getCustomerId() {
67
		return customerId;
68
	}
69
 
70
 
71
	public long getCreatedOn() {
72
		return createdOn;
73
	}
74
 
75
	public long getExpectedDeliveryTime() {
76
		return expectedDeliveryTime;
77
	}
78
 
306 ashish 79
	public void setStatusMessage(String message){
80
		this.statusMessage = message;
81
	}
82
 
167 ashish 83
	public String getStatusMessage() {
84
		return statusMessage;
306 ashish 85
	}
86
 
87
	public boolean isAlert() {
88
		return alert;
89
	}
90
 
91
	public void setAlert(boolean alert) {
92
		this.alert = alert;
93
	}
94
 
484 rajveer 95
	public void setOrderId(long orderId) {
96
		this.orderId = orderId;
306 ashish 97
	}
98
 
484 rajveer 99
	public long getOrderId() {
100
		return orderId;
306 ashish 101
	}
102
 
484 rajveer 103
	public void setCustomerName(String customerName) {
104
		this.customerName = customerName;
306 ashish 105
	}
106
 
484 rajveer 107
	public String getCustomerName() {
108
		return customerName;
109
	}
110
 
111
	public void setCustomerMobileNumber(String customerMobileNumber) {
112
		this.customerMobileNumber = customerMobileNumber;
113
	}
114
 
115
	public String getCustomerMobileNumber() {
116
		return customerMobileNumber;
117
	}
118
 
119
	public void setCustomerPincode(String customerPincode) {
120
		this.customerPincode = customerPincode;
121
	}
122
 
123
	public String getCustomerPincode() {
124
		return customerPincode;
125
	}
126
 
127
	public void setCustomerEmail(String customerEmail) {
128
		this.customerEmail = customerEmail;
129
	}
130
 
131
	public String getCustomerEmail() {
132
		return customerEmail;
133
	}
134
 
135
	public void setCustomerAddress(String customerAddress) {
136
		this.customerAddress = customerAddress;
137
	}
138
 
139
	public String getCustomerAddress() {
140
		return customerAddress;
141
	}
142
 
143
	public void setSkuId(String skuId) {
144
		this.skuId = skuId;
145
	}
146
 
147
	public String getSkuId() {
148
		return skuId;
149
	}
150
 
151
	public void setModelName(String modelName) {
152
		this.modelName = modelName;
153
	}
154
 
155
	public String getModelName() {
156
		return modelName;
157
	}
158
 
159
	public void setTotalWeight(double totalWeight) {
160
		this.totalWeight = totalWeight;
161
	}
162
 
163
	public double getTotalWeight() {
164
		return totalWeight;
165
	}
166
 
167
	public void setExtraInfo(String extraInfo) {
168
		this.extraInfo = extraInfo;
169
	}
170
 
171
	public String getExtraInfo() {
172
		return extraInfo;
173
	}
174
 
175
	public void setModelNumber(String modelNumber) {
176
		this.modelNumber = modelNumber;
177
	}
178
 
179
	public String getModelNumber() {
180
		return modelNumber;
181
	}
182
 
183
	public void setTotalAmount(double totalAmount) {
184
		this.totalAmount = totalAmount;
185
	}
186
 
187
	public double getTotalAmount() {
188
		return totalAmount;
189
	}
190
 
191
	public void setVendor(String vendor) {
192
		this.vendor = vendor;
193
	}
194
 
306 ashish 195
	public String getVendor() {
196
		return vendor;
197
	}
198
 
484 rajveer 199
	public void setStatus(long status) {
200
		this.status = status;
306 ashish 201
	}
202
 
484 rajveer 203
	public long getStatus() {
204
		return status;
205
	}
206
 
167 ashish 207
}