BackResultBean.java
2.61 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
package com.drp.mobliemall.bean;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Administrator on 2015/1/9.
*/
public class BackResultBean implements Parcelable {
private String code;
private boolean result;
private String message;
private String keyStr;
private String orderNumber;
public long getOrderId() {
return orderId;
}
public void setOrderId(long orderId) {
this.orderId = orderId;
}
private long orderId;
public int getPosition() {
return position;
}
public String getKeyStr() {
return keyStr;
}
public void setKeyStr(String keyStr) {
this.keyStr = keyStr;
}
public void setPosition(int position) {
this.position = position;
}
private int position;
public String getOrderNumber() {
return orderNumber;
}
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
public boolean getResult(){
return result;
}
public void setResult(boolean result){
this.result=result;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
private String type;
public BackResultBean() {
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.code);
dest.writeString(this.message);
dest.writeString(this.type);
dest.writeInt(this.position);
dest.writeLong(this.orderId);
dest.writeString(this.keyStr);
dest.writeString(this.orderNumber);
}
private BackResultBean(Parcel in) {
this.code = in.readString();
this.message = in.readString();
this.type = in.readString();
this.position=in.readInt();
this.orderId=in.readLong();
this.keyStr=in.readString();
this.orderNumber=in.readString();
}
public static final Creator<BackResultBean> CREATOR = new Creator<BackResultBean>() {
public BackResultBean createFromParcel(Parcel source) {
return new BackResultBean(source);
}
public BackResultBean[] newArray(int size) {
return new BackResultBean[size];
}
};
}