Receipt.java 3.19 KB
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;
    }
}