Receipt.java
3.19 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
package com.huaheng.api.erp.domain;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.math.BigDecimal;
@XmlRootElement(name = "Receipt")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "T_AUF", propOrder = {
"MATNR",
"MENGE",
"LGORT",
"CHARG",
"AUFNR",
"EBELN",
"EBELP",
"item"
})
public class Receipt implements Serializable {
private static final long serialVersionUID = 6216788461720346261L;
private String MATNR;
private BigDecimal MENGE;
private String LGORT;
private String CHARG;
//生产订单号
private String AUFNR;
//采购凭证号
private String EBELN;
private BigDecimal EBELP;
//物料号
@XmlElementRef(name = "AUFNR", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> aufnr;
@XmlElementRef(name = "CHARG", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> charg;
@XmlElementRef(name = "EBELN", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> ebeln;
//采购凭证的项目编号
@XmlElementRef(name = "EBELP", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> ebelp;
//库存地点
@XmlElementRef(name = "LGORT", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> lgort;
@XmlElementRef(name = "MATNR", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<String> matnr;
//数量
@XmlElementRef(name = "MENGE", namespace = "http://esb.primeton.com/sap-adaptor/rfc", type = JAXBElement.class, required = false)
protected JAXBElement<Integer> menge;
@XmlElement(name="Item")
private ReceiptItem item;
public String getMATNR() {
return MATNR;
}
public void setMATNR(String MATNR) {
this.MATNR = MATNR;
}
public BigDecimal getMENGE() {
return MENGE;
}
public void setMENGE(BigDecimal MENGE) {
this.MENGE = MENGE;
}
public String getLGORT() {
return LGORT;
}
public void setLGORT(String LGORT) {
this.LGORT = LGORT;
}
public String getCHARG() {
return CHARG;
}
public void setCHARG(String CHARG) {
this.CHARG = CHARG;
}
public String getAUFNR() {
return AUFNR;
}
public void setAUFNR(String AUFNR) {
this.AUFNR = AUFNR;
}
public String getEBELN() {
return EBELN;
}
public void setEBELN(String EBELN) {
this.EBELN = EBELN;
}
public BigDecimal getEBELP() {
return EBELP;
}
public void setEBELP(BigDecimal EBELP) {
this.EBELP = EBELP;
}
public ReceiptItem getItem() {
return item;
}
public void setItem(ReceiptItem item) {
this.item = item;
}
}