ReceiptInfo.java
4.25 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
package com.huaheng.mobilewms.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 totalQty; //总共多少个
private float openQty; //已收多少个
private float qty;
private String unit; //单位
private String batch; //批次号
private String project; //项目号
private String materialName;
private String materialCode;
private String id;
private String receiptCode;
private String receiptId;
private String quality;
private String spec;
@Generated(hash = 1880018685)
public ReceiptInfo(long _id, float totalQty, float openQty, float qty,
String unit, String batch, String project, String materialName,
String materialCode, String id, String receiptCode, String receiptId,
String quality, String spec) {
this._id = _id;
this.totalQty = totalQty;
this.openQty = openQty;
this.qty = qty;
this.unit = unit;
this.batch = batch;
this.project = project;
this.materialName = materialName;
this.materialCode = materialCode;
this.id = id;
this.receiptCode = receiptCode;
this.receiptId = receiptId;
this.quality = quality;
this.spec = spec;
}
@Generated(hash = 1137185615)
public ReceiptInfo() {
}
public long get_id() {
return this._id;
}
public void set_id(long _id) {
this._id = _id;
}
public float getTotalQty() {
return this.totalQty;
}
public void setTotalQty(float totalQty) {
this.totalQty = totalQty;
}
public float getOpenQty() {
return this.openQty;
}
public void setOpenQty(float openQty) {
this.openQty = openQty;
}
public float getQty() {
return this.qty;
}
public void setQty(float qty) {
this.qty = qty;
}
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 getMaterialName() {
return this.materialName;
}
public void setMaterialName(String materialName) {
this.materialName = materialName;
}
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;
}
public String getSpec() {
return this.spec;
}
public void setSpec(String spec) {
this.spec = spec;
}
@Override
public String toString() {
return "ReceiptInfo{" +
"_id=" + _id +
", totalQty=" + totalQty +
", openQty=" + openQty +
", qty=" + qty +
", unit='" + unit + '\'' +
", batch='" + batch + '\'' +
", project='" + project + '\'' +
", materialName='" + materialName + '\'' +
", materialCode='" + materialCode + '\'' +
", id='" + id + '\'' +
", receiptCode='" + receiptCode + '\'' +
", receiptId='" + receiptId + '\'' +
", quality='" + quality + '\'' +
", spec='" + spec + '\'' +
'}';
}
}