LiteConsignmentDTO.java

package com.tradecloud.dto.consignment.lite;

import com.tradecloud.domain.model.ordermanagement.ConsignmentState;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Created by ds on 2016/11/16.
 */
@XmlRootElement(name = "Consignment")
@XmlAccessorType(XmlAccessType.FIELD)
public class LiteConsignmentDTO {

    @XmlAttribute(required = true)
    private String consignmentReference;
    @XmlAttribute(required = true)
    private ConsignmentState consignmentState;
    @XmlAttribute(required = false)
    private String consignmentReportUrl;
    @XmlAttribute(required = false)
    private String incoterm;
    @XmlAttribute(required = false)
    private String placeOfLoading;
    @XmlAttribute(required = false)
    private String placeOfDischarge;
    @XmlAttribute(required = false)
    private String latestShipmentDate;
    @XmlAttribute(required = false)
    private String finalisedDate;
    @XmlAttribute(required = false)
    private String orderTotalExVat;
    @XmlAttribute(required = false)
    private String orderTotalInclVat;
    @XmlAttribute(required = false)
    private String orderVat;
    @XmlElement(name = "Order", required = true)
    private List<LiteOrderDTO> orderDTOList;
    @XmlElement(name = "Container", required = true)
    private List<LiteContainerDTO> containerDTOList;
    @XmlAttribute(required = true)
    private String foreignCurrencyTotal;

    public String getConsignmentReference() {
        return this.consignmentReference;
    }

    public void setConsignmentReference(String consignmentReference) {
        this.consignmentReference = consignmentReference;
    }

    public ConsignmentState getConsignmentState() {
        return this.consignmentState;
    }

    public void setConsignmentState(ConsignmentState consignmentState) {
        this.consignmentState = consignmentState;
    }

    public List<LiteOrderDTO> getOrderDTOList() {
        return orderDTOList;
    }

    public void setOrderDTOList(List<LiteOrderDTO> orderDTOList) {
        this.orderDTOList = orderDTOList;
    }

    public String getConsignmentReportUrl() {
        return consignmentReportUrl;
    }

    public void setConsignmentReportUrl(String consignmentReportUrl) {
        this.consignmentReportUrl = consignmentReportUrl;
    }

    public String getIncoterm() {
        return incoterm;
    }

    public void setIncoterm(String incoterm) {
        this.incoterm = incoterm;
    }

    public String getPlaceOfLoading() {
        return placeOfLoading;
    }

    public void setPlaceOfLoading(String placeOfLoading) {
        this.placeOfLoading = placeOfLoading;
    }

    public String getPlaceOfDischarge() {
        return placeOfDischarge;
    }

    public void setPlaceOfDischarge(String placeOfDischarge) {
        this.placeOfDischarge = placeOfDischarge;
    }

    public String getLatestShipmentDate() {
        return latestShipmentDate;
    }

    public void setLatestShipmentDate(String latestShipmentDate) {
        this.latestShipmentDate = latestShipmentDate;
    }

    public String getFinalisedDate() {
        return finalisedDate;
    }

    public void setFinalisedDate(String finalisedDate) {
        this.finalisedDate = finalisedDate;
    }

    public String getOrderTotalExVat() {
        return orderTotalExVat;
    }

    public void setOrderTotalExVat(String orderTotalExVat) {
        this.orderTotalExVat = orderTotalExVat;
    }

    public String getOrderTotalInclVat() {
        return orderTotalInclVat;
    }

    public void setOrderTotalInclVat(String orderTotalInclVat) {
        this.orderTotalInclVat = orderTotalInclVat;
    }

    public String getOrderVat() {
        return orderVat;
    }

    public void setOrderVat(String orderVat) {
        this.orderVat = orderVat;
    }

   public List<LiteContainerDTO> getContainerDTOList() {
        return containerDTOList;
    }

    public void setContainerDTOList(List<LiteContainerDTO> containerDTOList) {
        this.containerDTOList = containerDTOList;
    }

    public String getForeignCurrencyTotal() {
        return foreignCurrencyTotal;
    }

    public void setForeignCurrencyTotal(String foreignCurrencyTotal) {
        this.foreignCurrencyTotal = foreignCurrencyTotal;
    }
}