ConsignmentCESReportDTO.java

package com.tradecloud.dto.consignment;

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

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ds
 * Date: 2014/02/26
 * Time: 1:02 PM
 * To change this template use File | Settings | File Templates.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "ConsignmentCostEstimateSummaryReport")
public class ConsignmentCESReportDTO implements Serializable {

    //consignment information
    @XmlAttribute(required = true)
    private String consignmentNumber;

    @XmlAttribute(required = true)
    private String consignmentReference;

    @XmlAttribute(required = true)
    private ConsignmentState consignmentState;

    @XmlAttribute(required = true)
    private String localCurrency;

    @XmlAttribute(required = false)
    private String consignmentReportUrl;
    @XmlAttribute(required = true)
    private String containerType;
    @XmlAttribute(required = true)
    private String costingCurrency;
    @XmlAttribute(required = true)
    private String marginPercentExclVatConsignment;


    @XmlElement(name = "Order", required = true)
    private List<ConsignmentCESReportOrderDTO> ConsignmentCESReportOrderDTOList;

    public List<ConsignmentCESReportOrderDTO> getConsignmentCESReportOrderDTOList() {
        return ConsignmentCESReportOrderDTOList;
    }

    public void setConsignmentCESReportOrderDTOList(List<ConsignmentCESReportOrderDTO> consignmentCESReportOrderDTOList) {
        ConsignmentCESReportOrderDTOList = consignmentCESReportOrderDTOList;
    }

    public String getConsignmentNumber() {
        return this.consignmentNumber;
    }

    public void setConsignmentNumber(String consignmentNumber) {
        this.consignmentNumber = consignmentNumber;
    }

    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 String getLocalCurrency() {
        return localCurrency;
    }

    public void setLocalCurrency(String localCurrency) {
        this.localCurrency = localCurrency;
    }

    public String getConsignmentReportUrl() {
        return consignmentReportUrl;
    }

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

    public String getContainerType() {
        return containerType;
    }

    public void setContainerType(String containerType) {
        this.containerType = containerType;
    }

    public String getCostingCurrency() {
        return costingCurrency;
    }

    public void setCostingCurrency(String costingCurrency) {
        this.costingCurrency = costingCurrency;
    }

    public String getMarginPercentExclVatConsignment() {
        return marginPercentExclVatConsignment;
    }

    public void setMarginPercentExclVatConsignment(String marginPercentExclVatConsignment) {
        this.marginPercentExclVatConsignment = marginPercentExclVatConsignment;
    }
}