ReceiptInfo.java
4.21 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
package com.huaheng.wms.bean;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
@Entity
public class ReceiptInfo {
@Id
private long _id;
private float qty; //总共多少个
private float total; //已收多少个
private float qtyCompleted; //已收多少个
private String unit; //单位
private String batch; //批次号
private String project; //项目号
private String name;
private String materialCode;
private String id;
private String receiptCode;
private String receiptId;
private String quality;
private String materialName;
@Generated(hash = 1550405795)
public ReceiptInfo(long _id, float qty, float total, float qtyCompleted, String unit,
String batch, String project, String name, String materialCode, String id,
String receiptCode, String receiptId, String quality, String materialName) {
this._id = _id;
this.qty = qty;
this.total = total;
this.qtyCompleted = qtyCompleted;
this.unit = unit;
this.batch = batch;
this.project = project;
this.name = name;
this.materialCode = materialCode;
this.id = id;
this.receiptCode = receiptCode;
this.receiptId = receiptId;
this.quality = quality;
this.materialName = materialName;
}
@Generated(hash = 1137185615)
public ReceiptInfo() {
}
public long get_id() {
return this._id;
}
public void set_id(long _id) {
this._id = _id;
}
public float getQty() {
return this.qty;
}
public void setQty(float qty) {
this.qty = qty;
}
public float getQtyCompleted() {
return this.qtyCompleted;
}
public void setQtyCompleted(float qtyCompleted) {
this.qtyCompleted = qtyCompleted;
}
public String getUnit() {
return this.unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public String getBatch() {
return this.batch;
}
public void setBatch(String batch) {
this.batch = batch;
}
public String getProject() {
return this.project;
}
public void setProject(String project) {
this.project = project;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getMaterialCode() {
return this.materialCode;
}
public void setMaterialCode(String materialCode) {
this.materialCode = materialCode;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getReceiptCode() {
return this.receiptCode;
}
public void setReceiptCode(String receiptCode) {
this.receiptCode = receiptCode;
}
public String getReceiptId() {
return this.receiptId;
}
public void setReceiptId(String receiptId) {
this.receiptId = receiptId;
}
public String getQuality() {
return this.quality;
}
public void setQuality(String quality) {
this.quality = quality;
}
@Override
public String toString() {
return "ReceiptInfo{" +
"_id=" + _id +
", qty=" + qty +
", qtyCompleted=" + qtyCompleted +
", unit='" + unit + '\'' +
", batch='" + batch + '\'' +
", project='" + project + '\'' +
", name='" + name + '\'' +
", materialCode='" + materialCode + '\'' +
", id='" + id + '\'' +
", receiptCode='" + receiptCode + '\'' +
", receiptId='" + receiptId + '\'' +
", quality='" + quality + '\'' +
'}';
}
public String getMaterialName() {
return this.materialName;
}
public void setMaterialName(String materialName) {
this.materialName = materialName;
}
public float getTotal() {
return this.total;
}
public void setTotal(float total) {
this.total = total;
}
}