ReceiptEntity.java
3.53 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
package com.naji.xiaotao.receipt.entity;
import android.os.Parcel;
import android.os.Parcelable;
public class ReceiptEntity implements Parcelable {
private String id;
private String orderid;
private String openid;
private String type;
private String title;
private String taxnumber;
private String companyaddress;
private String telephone;
private String bankname;
private String bankaccount;
private String cdate;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOrderid() {
return orderid;
}
public void setOrderid(String orderid) {
this.orderid = orderid;
}
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
this.openid = openid;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTaxnumber() {
return taxnumber;
}
public void setTaxnumber(String taxnumber) {
this.taxnumber = taxnumber;
}
public String getCompanyaddress() {
return companyaddress;
}
public void setCompanyaddress(String companyaddress) {
this.companyaddress = companyaddress;
}
public String getTelephone() {
return telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
public String getBankname() {
return bankname;
}
public void setBankname(String bankname) {
this.bankname = bankname;
}
public String getBankaccount() {
return bankaccount;
}
public void setBankaccount(String bankaccount) {
this.bankaccount = bankaccount;
}
public String getCdate() {
return cdate;
}
public void setCdate(String cdate) {
this.cdate = cdate;
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.id);
dest.writeString(this.orderid);
dest.writeString(this.openid);
dest.writeString(this.type);
dest.writeString(this.title);
dest.writeString(this.taxnumber);
dest.writeString(this.companyaddress);
dest.writeString(this.telephone);
dest.writeString(this.bankname);
dest.writeString(this.bankaccount);
dest.writeString(this.cdate);
}
public ReceiptEntity() {
}
protected ReceiptEntity(Parcel in) {
this.id = in.readString();
this.orderid = in.readString();
this.openid = in.readString();
this.type = in.readString();
this.title = in.readString();
this.taxnumber = in.readString();
this.companyaddress = in.readString();
this.telephone = in.readString();
this.bankname = in.readString();
this.bankaccount = in.readString();
this.cdate = in.readString();
}
public static final Parcelable.Creator<ReceiptEntity> CREATOR = new Parcelable.Creator<ReceiptEntity>() {
@Override
public ReceiptEntity createFromParcel(Parcel source) {
return new ReceiptEntity(source);
}
@Override
public ReceiptEntity[] newArray(int size) {
return new ReceiptEntity[size];
}
};
}