ShipmentACUPReportConsignmentDTO.java

package com.tradecloud.dto.shipment.actualunitcosting;

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.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ds
 * Date: 2014/03/06
 * Time: 4:32 PM
 * To change this template use File | Settings | File Templates.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Consignment")
public class ShipmentACUPReportConsignmentDTO {

    @XmlAttribute(required = true)
    String consignmentNumber;

    @XmlAttribute(required = true)
    String consignmentReference;

    @XmlAttribute(required = true)
    String consignmentComments;

    @XmlElement(name = "Order", required = true)
    List<ShipmentACUPReportOrderDTO> shipmentACUPReportOrderDTO;

    public List<ShipmentACUPReportOrderDTO> getShipmentACUPReportOrderDTO() {
        return shipmentACUPReportOrderDTO;
    }

    public void setShipmentACUPReportOrderDTO(List<ShipmentACUPReportOrderDTO> shipmentACUPReportOrderDTO) {
        this.shipmentACUPReportOrderDTO = shipmentACUPReportOrderDTO;
    }

    public String getConsignmentNumber() {
        return consignmentNumber;
    }

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

    public String getConsignmentReference() {
        return consignmentReference;
    }

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

    public String getConsignmentComments() {
        return consignmentComments;
    }

    public void setConsignmentComments(String consignmentComments) {
        this.consignmentComments = consignmentComments;
    }
}