ExportInvoicesReportDTO.java

package com.tradecloud.dto.export;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by ds on 2014/11/10.
 */
@XmlRootElement(name = "ExportInvoicesReportDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class ExportInvoicesReportDTO extends ExportInvoiceReportingBaseDTO implements Serializable {
    @XmlAttribute(required = true)
    private String number;

    @XmlAttribute(required = true)
    private Date createdDate;

    @XmlAttribute(required = true)
    private String consigneeNumber;

    @XmlAttribute(required = true)
    private String consigneeName;

    @XmlAttribute
    private String consigneeAddress;

    @XmlAttribute
    private String deliveryAddress;

    @XmlAttribute(required = true)
    private String countryOfDestination;

    @XmlAttribute(required = true)
    private BigDecimal value;

    @XmlAttribute(required = true)
    private BigDecimal daysNotLinkedToShipment;

    @XmlAttribute
    private String shipmentReference;

    @XmlAttribute
    private int numberOfUnits;

    @XmlAttribute
    private int unitsPerLocation;

    @XmlAttribute
    private int cartonsPerLocation;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getConsigneeNumber() {
        return consigneeNumber;
    }

    public void setConsigneeNumber(String consigneeNumber) {
        this.consigneeNumber = consigneeNumber;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getCountryOfDestination() {
        return countryOfDestination;
    }

    public void setCountryOfDestination(String countryOfDestination) {
        this.countryOfDestination = countryOfDestination;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public BigDecimal getDaysNotLinkedToShipment() {
        return daysNotLinkedToShipment;
    }

    public void setDaysNotLinkedToShipment(BigDecimal daysNotLinkedToShipment) {
        this.daysNotLinkedToShipment = daysNotLinkedToShipment;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(String consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getShipmentReference() {
        return shipmentReference;
    }

    public void setShipmentReference(String shipmentReference) {
        this.shipmentReference = shipmentReference;
    }

    public int getNumberOfUnits() {
        return numberOfUnits;
    }

    public void setNumberOfUnits(int numberOfUnits) {
        this.numberOfUnits = numberOfUnits;
    }

    public int getUnitsPerLocation() {
        return unitsPerLocation;
    }

    public void setUnitsPerLocation(int unitsPerLocation) {
        this.unitsPerLocation = unitsPerLocation;
    }

    public int getCartonsPerLocation() {
        return cartonsPerLocation;
    }

    public void setCartonsPerLocation(int cartonsPerLocation) {
        this.cartonsPerLocation = cartonsPerLocation;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

}