OrderNotConsignedDTO.java

package com.tradecloud.dto.order;

import java.math.BigDecimal;
import java.util.Date;
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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * Created by ds on 2014/11/13.
 */
@XmlRootElement(name = "OrderNotConsignedDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderNotConsignedDTO extends OrderSearchResult{
    @XmlAttribute
    private Long id;
    @XmlAttribute
    private String orderReference;
    @XmlAttribute
    private String shippingReference;
    @XmlAttribute(required=false)
    private String proFormaReference;
    @XmlAttribute
    private String freightForwarder;
    //@XmlAttribute(required=false)
    @XmlJavaTypeAdapter(value=XmlAdapterDate.class,type=java.util.Date.class)
    private Date latestShipmentDate;
    @XmlAttribute
    private String shippingMode;
    @XmlAttribute
    private String incoTerm;
    @XmlAttribute
    private String paymentTerm;
    @XmlAttribute
    private String placeOfLoading;
    @XmlAttribute
    private String placeOfDischarge;
    @XmlAttribute
    private String finalDestination;
    @XmlAttribute
    private String division;
    @XmlAttribute
    private String supplierName;
    @XmlAttribute
    private String buyerName;
    @XmlAttribute
    private BigDecimal totalVolume;
    @XmlAttribute
    private BigDecimal totalWeight;
    @XmlAttribute
    private BigDecimal businessDaysNotConsigned;
    @XmlAttribute(required=false)
    private String comments;
    @XmlAttribute
    private String consignKey;
    @XmlAttribute
    private Date created;
    private BigDecimal orderQuantity;
    private BigDecimal totalInvoiceValue;
    private String number;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderReference() {
        return orderReference;
    }

    public void setOrderReference(String orderReference) {
        this.orderReference = orderReference;
    }

    public String getShippingReference() {
        return shippingReference;
    }

    public void setShippingReference(String shippingReference) {
        this.shippingReference = shippingReference;
    }

    public String getProFormaReference() {
        return proFormaReference;
    }

    public void setProFormaReference(String proFormaReference) {
        this.proFormaReference = proFormaReference;
    }

    public String getFreightForwarder() {
        return freightForwarder;
    }

    public void setFreightForwarder(String freightForwarder) {
        this.freightForwarder = freightForwarder;
    }

    public Date getLatestShipmentDate() {
        return latestShipmentDate;
    }

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

    public String getShippingMode() {
        return shippingMode;
    }

    public void setShippingMode(String shippingMode) {
        this.shippingMode = shippingMode;
    }

    public String getIncoTerm() {
        return incoTerm;
    }

    public void setIncoTerm(String incoTerm) {
        this.incoTerm = incoTerm;
    }

    public String getPaymentTerm() {
        return paymentTerm;
    }

    public void setPaymentTerm(String paymentTerm) {
        this.paymentTerm = paymentTerm;
    }

    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 getFinalDestination() {
        return finalDestination;
    }

    public void setFinalDestination(String finalDestination) {
        this.finalDestination = finalDestination;
    }

    public String getDivision() {
        return division;
    }

    public void setDivision(String division) {
        this.division = division;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public BigDecimal getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(BigDecimal totalVolume) {
        this.totalVolume = totalVolume;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getBusinessDaysNotConsigned() {
        return businessDaysNotConsigned;
    }

    public void setBusinessDaysNotConsigned(BigDecimal businessDaysNotConsigned) {
        this.businessDaysNotConsigned = businessDaysNotConsigned;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getConsignKey() {
        return consignKey;
    }

    public void setConsignKey(String consignKey) {
        this.consignKey = consignKey;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public BigDecimal getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(BigDecimal orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public String getNumber() {
        return number;
    }

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

    public BigDecimal getTotalInvoiceValue() {
        return totalInvoiceValue;
    }

    public void setTotalInvoiceValue(BigDecimal totalInvoiceValue) {
        this.totalInvoiceValue = totalInvoiceValue;
    }
}