package com.foreverwin.mesnac.integration.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * 物料批次接收
 *
 * @author Leon
 * @date 2021-06-28
 */
@XmlAccessorType( XmlAccessType.FIELD )
@XmlType(name = "ItemBatchReceiveRequest", propOrder = {
        "TRANID",
        "DATE_TIME",
        "SITE",
        "SUPPLIER",
        "PURCHASE_ORDER",
        "PURCHASE_ORDER_LIST"
})
public class ItemBatchReceiveRequest {

    @XmlElement(name = "TRANID")
    private String TRANID;
    @XmlElement(name = "DATE_TIME")
    private String DATE_TIME;
    @XmlElement(name = "SITE")
    private String SITE;
    @XmlElement(name = "SUPPLIER")
    private String SUPPLIER;
    @XmlElement(name = "PURCHASE_ORDER")
    private String PURCHASE_ORDER;
    @XmlElement(name = "PURCHASE_ORDER_LIST")
    private List<ItemBatchDto> PURCHASE_ORDER_LIST;

    public String getTRANID() {
        return TRANID;
    }

    public void setTRANID(String TRANID) {
        this.TRANID = TRANID;
    }

    public String getDATE_TIME() {
        return DATE_TIME;
    }

    public void setDATE_TIME(String DATE_TIME) {
        this.DATE_TIME = DATE_TIME;
    }

    public String getSITE() {
        return SITE;
    }

    public void setSITE(String SITE) {
        this.SITE = SITE;
    }

    public String getSUPPLIER() {
        return SUPPLIER;
    }

    public void setSUPPLIER(String SUPPLIER) {
        this.SUPPLIER = SUPPLIER;
    }

    public String getPURCHASE_ORDER() {
        return PURCHASE_ORDER;
    }

    public void setPURCHASE_ORDER(String PURCHASE_ORDER) {
        this.PURCHASE_ORDER = PURCHASE_ORDER;
    }

    public List<ItemBatchDto> getPURCHASE_ORDER_LIST() {
        return PURCHASE_ORDER_LIST;
    }

    public void setPURCHASE_ORDER_LIST(List<ItemBatchDto> PURCHASE_ORDER_LIST) {
        this.PURCHASE_ORDER_LIST = PURCHASE_ORDER_LIST;
    }

    @Override
    public String toString() {
        return "ItemBatchReceiveRequest{" +
                "TRANID='" + TRANID + '\'' +
                ", DATE_TIME='" + DATE_TIME + '\'' +
                ", SITE='" + SITE + '\'' +
                ", SUPPLIER='" + SUPPLIER + '\'' +
                ", PURCHASE_ORDER='" + PURCHASE_ORDER + '\'' +
                ", PURCHASE_ORDER_LIST=" + PURCHASE_ORDER_LIST +
                '}';
    }
}
