DetailBean.java
2.48 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
package com.huaheng.mobilewms.bean;
import android.graphics.drawable.Drawable;
import com.huaheng.mobilewms.util.WMSUtils;
import java.math.BigDecimal;
public class DetailBean {
private Drawable drawable;
private String type;
private String name;
private String code;
private String referCode;
private String userDef1;
private String userDef2;
private boolean complete;
private BigDecimal amount;
private BigDecimal lastAmount;
public DetailBean(Drawable drawable, String type, String name, String code) {
this.drawable = drawable;
this.type = type;
this.name = name;
this.code = code;
this.complete = false;
amount = WMSUtils.newBigDecimal(0);
}
public DetailBean(Drawable drawable, String type, String name, String code, boolean complete) {
this.drawable = drawable;
this.type = type;
this.name = name;
this.code = code;
this.complete = complete;
amount = WMSUtils.newBigDecimal(0);
}
public Drawable getDrawable() {
return drawable;
}
public void setDrawable(Drawable drawable) {
this.drawable = drawable;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public boolean isComplete() {
return complete;
}
public void setComplete(boolean complete) {
this.complete = complete;
}
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public BigDecimal getLastAmount() {
return lastAmount;
}
public void setLastAmount(BigDecimal lastAmount) {
this.lastAmount = lastAmount;
}
public String getReferCode() {
return referCode;
}
public void setReferCode(String referCode) {
this.referCode = referCode;
}
public String getUserDef1() {
return userDef1;
}
public void setUserDef1(String userDef1) {
this.userDef1 = userDef1;
}
public String getUserDef2() {
return userDef2;
}
public void setUserDef2(String userDef2) {
this.userDef2 = userDef2;
}
}