TempComCarBean.java
4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.drp.mobliemall.bean;
import android.os.Parcel;
import android.os.Parcelable;
/**
* 临时购物单 bean
*
* @author misty-rain
* @ClassName: TempComCarBean
* @Description: 临时购物单 bean
* @date 2014-12-11 上午11:24:18
*/
public class TempComCarBean implements Parcelable {
private String id;
private String commodName;
private Integer singleCommodTotalCount;
private Integer commodTotalCount;
private double singleCommodPrice;
private double commodTotalPrice;
private String singleComPicUrl;
public Long getCartItemId() {
return cartItemId;
}
public void setCartItemId(Long cartItemId) {
this.cartItemId = cartItemId;
}
private String operationTime;
private String flag;
private String shortName;
private Long cartItemId;
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
private Long productId;
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public String getShortName() {
return shortName;
}
public void setShortName(String shortName) {
this.shortName = shortName;
}
private String number;
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public String getSingleComPicUrl() {
return singleComPicUrl;
}
public void setSingleComPicUrl(String singleComPicUrl) {
this.singleComPicUrl = singleComPicUrl;
}
public String getOperationTime() {
return operationTime;
}
public void setOperationTime(String operationTime) {
this.operationTime = operationTime;
}
public String getCommodName() {
return commodName;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public void setCommodName(String commodName) {
this.commodName = commodName;
}
public Integer getSingleCommodTotalCount() {
return singleCommodTotalCount;
}
public void setSingleCommodTotalCount(Integer singleCommodTotalCount) {
this.singleCommodTotalCount = singleCommodTotalCount;
}
public Integer getCommodTotalCount() {
return commodTotalCount;
}
public void setCommodTotalCount(Integer commodTotalCount) {
this.commodTotalCount = commodTotalCount;
}
public double getSingleCommodPrice() {
return singleCommodPrice;
}
public void setSingleCommodPrice(double singleCommodPrice) {
this.singleCommodPrice = singleCommodPrice;
}
public double getCommodTotalPrice() {
return commodTotalPrice;
}
public void setCommodTotalPrice(double commodTotalPrice) {
this.commodTotalPrice = commodTotalPrice;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.id);
dest.writeString(this.commodName);
dest.writeValue(this.singleCommodTotalCount);
dest.writeValue(this.commodTotalCount);
dest.writeDouble(this.singleCommodPrice);
dest.writeDouble(this.commodTotalPrice);
dest.writeString(this.singleComPicUrl);
dest.writeString(this.operationTime);
dest.writeString(this.flag);
dest.writeLong(this.cartItemId);
}
public TempComCarBean() {
}
private TempComCarBean(Parcel in) {
this.id = in.readString();
this.commodName = in.readString();
this.singleCommodTotalCount = (Integer) in.readValue(Integer.class
.getClassLoader());
this.commodTotalCount = (Integer) in.readValue(Integer.class
.getClassLoader());
this.singleCommodPrice = in.readDouble();
this.commodTotalPrice = in.readDouble();
this.singleComPicUrl = in.readString();
this.operationTime = in.readString();
this.flag = in.readString();
this.cartItemId=in.readLong();
}
public static final Creator<TempComCarBean> CREATOR = new Creator<TempComCarBean>() {
public TempComCarBean createFromParcel(Parcel source) {
return new TempComCarBean(source);
}
public TempComCarBean[] newArray(int size) {
return new TempComCarBean[size];
}
};
}