SingleReceipt.java
3.91 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
package com.huaheng.api.erp.domain;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
import java.util.List;
public class SingleReceipt<T> {
/**
* 实体主键
*/
@SerializedName("FID")
private Integer id;
/**
* 单据编号
*/
@SerializedName("FBillNo")
@Expose
private String billNo;
/**
* 单据类型
*/
@SerializedName("FBillType")
@Expose
private ConvertObj billType;
/**
* 生产组织
*/
@SerializedName("FPrdOrgId")
@Expose
private ConvertObj prodOrgId;
/**
* //货主类型
*/
@SerializedName("FOwnerTypeId0")
@Expose
private String ownerTypeIdHead="BD_OwnerOrg";
/**
* 货主
*/
@SerializedName("FOwnerId0")
@Expose
private ConvertObj ownerId0;
/**
* 入库组织
*/
@SerializedName("FStockOrgId")
@Expose
private ConvertObj stockOrgId;
/**
* 日期
*/
@SerializedName("FDate")
@Expose
private Date date;
/**
* 仓管员
*/
@SerializedName("FSTOCKERID")
@Expose
private ConvertObj stockerId;
/**
* 备注
*/
@SerializedName("FDescription")
@Expose
private String description;
/**
* 本位币
*/
@SerializedName("FCurrId")
@Expose
private ConvertObj baseCurrId;
/**
* 明细信息
*/
@SerializedName("FEntity")
@Expose
private List<T> entity;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getBillNo() {
return billNo;
}
public void setBillNo(String billNo) {
this.billNo = billNo;
}
public ConvertObj getBillType() {
return billType;
}
public void setBillType(ConvertObj billType) {
this.billType = billType;
}
public ConvertObj getStockOrgId() {
return stockOrgId;
}
public void setStockOrgId(ConvertObj stockOrgId) {
this.stockOrgId = stockOrgId;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public ConvertObj getStockerId() {
return stockerId;
}
public void setStockerId(ConvertObj stockerId) {
this.stockerId = stockerId;
}
public String getOwnerTypeIdHead() {
return ownerTypeIdHead;
}
public void setOwnerTypeIdHead(String ownerTypeIdHead) {
this.ownerTypeIdHead = ownerTypeIdHead;
}
public ConvertObj getOwnerId0() {
return ownerId0;
}
public void setOwnerId0(ConvertObj ownerId0) {
this.ownerId0 = ownerId0;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ConvertObj getBaseCurrId() {
return baseCurrId;
}
public void setBaseCurrId(ConvertObj baseCurrId) {
this.baseCurrId = baseCurrId;
}
public List<T> getEntity() {
return entity;
}
public void setEntity(List<T> entity) {
this.entity = entity;
}
@Override
public String toString() {
return "SingleReceipt{" +
"id=" + id +
", billNo='" + billNo + '\'' +
", billType=" + billType +
", stockOrgId=" + stockOrgId +
", date=" + date +
", stockerId=" + stockerId +
", ownerTypeIdHead='" + ownerTypeIdHead + '\'' +
", ownerIdHead=" + ownerId0 +
", baseCurrId='" + baseCurrId + '\'' +
", entity=" + entity +
'}';
}
public ConvertObj getProdOrgId() {
return prodOrgId;
}
public void setProdOrgId(ConvertObj prodOrgId) {
this.prodOrgId = prodOrgId;
}
}