DeclareManifestXml.java 2.6 KB
package com.agent.xml.manifestdeclare;

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 com.agent.xml.common.ContentXml;
import com.agent.xml.common.IDXml;
import com.agent.xml.common.NameXml;

/**
 * Created by cohesion on 2017/4/22.
 *
 * 空运出口预配舱单主要/其它数据申报及变更报文
 */
@XmlType
@XmlAccessorType(XmlAccessType.FIELD)
public class DeclareManifestXml {

    @XmlElement(name = "RepresentativePerson",required = false)
    private NameXml representativePerson;

    @XmlElement(name = "ExitCustomsOffice",required = false)
    private IDXml exitCustomsOffice;

    @XmlElement(name = "Agent",required = false)
    private IDXml agent;

    @XmlElement(name = "Carrier",required = false)
    private IDXml carrier;

    @XmlElement(name = "BorderTransportMeans",required = false)
    private DeclareBorderTransportMeansXml borderTransportMeans;

    @XmlElement(name = "Consignment",required = false)
    private DeclareConsignmentXml Consignment;

    @XmlElement(name = "AdditionalInformation",required = false)
    private ContentXml additionalInformation;

    public NameXml getRepresentativePerson() {
        return representativePerson;
    }

    public void setRepresentativePerson(NameXml representativePerson) {
        this.representativePerson = representativePerson;
    }

    public IDXml getExitCustomsOffice() {
        return exitCustomsOffice;
    }

    public void setExitCustomsOffice(IDXml exitCustomsOffice) {
        this.exitCustomsOffice = exitCustomsOffice;
    }

    public IDXml getAgent() {
        return agent;
    }

    public void setAgent(IDXml agent) {
        this.agent = agent;
    }

    public IDXml getCarrier() {
        return carrier;
    }

    public void setCarrier(IDXml carrier) {
        this.carrier = carrier;
    }

    public DeclareBorderTransportMeansXml getBorderTransportMeans() {
        return borderTransportMeans;
    }

    public void setBorderTransportMeans(DeclareBorderTransportMeansXml borderTransportMeans) {
        this.borderTransportMeans = borderTransportMeans;
    }

    public DeclareConsignmentXml getConsignment() {
        return Consignment;
    }

    public void setConsignment(DeclareConsignmentXml consignment) {
        Consignment = consignment;
    }

    public ContentXml getAdditionalInformation() {
        return additionalInformation;
    }

    public void setAdditionalInformation(ContentXml additionalInformation) {
        this.additionalInformation = additionalInformation;
    }
}