PosItemBean.java
3.12 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
package com.drp.mobliemall.bean;
import android.os.Parcel;
import android.os.Parcelable;
public class PosItemBean implements Parcelable {
private String id;
private String name;
private String picture_url;
private Long productID;
private double unit_price;
private String is_active;
private String specification;
private String shortName;
private String sortLetters;
private String number;
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public Long getProductID() {
return productID;
}
public void setProductID(Long productID) {
this.productID = productID;
}
public String getShortName() {
return shortName;
}
public void setShortName(String shortName) {
this.shortName = shortName;
}
public String getId() {
return id;
}
public String getSortLetters() {
return sortLetters;
}
public void setSortLetters(String sortLetters) {
this.sortLetters = sortLetters;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPicture_url() {
return picture_url;
}
public void setPicture_url(String picture_url) {
this.picture_url = picture_url;
}
public double getUnit_price() {
return unit_price;
}
public void setUnit_price(double unit_price) {
this.unit_price = unit_price;
}
public String getIs_active() {
return is_active;
}
public void setIs_active(String is_active) {
this.is_active = is_active;
}
public String getSpecification() {
return specification;
}
public void setSpecification(String specification) {
this.specification = specification;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.id);
dest.writeString(this.name);
dest.writeString(this.picture_url);
dest.writeDouble(this.unit_price);
dest.writeString(this.is_active);
dest.writeString(this.specification);
dest.writeString(this.number);
dest.writeString(this.sortLetters);
}
public PosItemBean() {
}
private PosItemBean(Parcel in) {
this.id = in.readString();
this.name = in.readString();
this.picture_url = in.readString();
this.unit_price = in.readDouble();
this.is_active = in.readString();
this.specification = in.readString();
this.number = in.readString();
this.sortLetters = in.readString();
}
public static final Creator<PosItemBean> CREATOR = new Creator<PosItemBean>() {
public PosItemBean createFromParcel(Parcel source) {
return new PosItemBean(source);
}
public PosItemBean[] newArray(int size) {
return new PosItemBean[size];
}
};
}