SupplierSummarySearchResult.java

package com.tradecloud.dto.container;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.tradecloud.domain.common.Currency;
import com.tradecloud.domain.place.Country;
import com.tradecloud.domain.supplier.CompleteType;
import com.tradecloud.domain.supplier.SupplierState;

@XmlRootElement(name = "SupplierSummarySearchResult")
@XmlAccessorType(XmlAccessType.FIELD)
public class SupplierSummarySearchResult extends ContainerSearchResult {

    @XmlElement
    private Long id;

    @XmlElement
    private String name;

    @XmlElement
    private String reference;

    @XmlElement
    private Country country;

    @XmlElement
    private CompleteType complete;

    @XmlElement
    private SupplierState state;

    @XmlElement
    private Date createdFrom;

    @XmlElement
    private Currency currency;

    @XmlElement
    private String organisationalUnit;

    public Long getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public Country getCountry() {
        return country;
    }

    public void setCountry(Country country) {
        this.country = country;
    }

    public CompleteType getComplete() {
        return complete;
    }

    public void setComplete(CompleteType complete) {
        this.complete = complete;
    }

    public SupplierState getState() {
        return state;
    }

    public void setState(SupplierState state) {
        this.state = state;
    }

    public Date getCreatedFrom() {
        return createdFrom;
    }

    public void setCreatedFrom(Date createdFrom) {
        this.createdFrom = createdFrom;
    }

    public Currency getCurrency() {
        return currency;
    }

    public void setCurrency(Currency currency) {
        this.currency = currency;
    }

    public String getOrganisationalUnit() {
        return organisationalUnit;
    }

    public void setOrganisationalUnit(String organisationalUnit) {
        this.organisationalUnit = organisationalUnit;
    }

}