ProformaInvoiceTermsAndConditionsDTO.java

package com.tradecloud.dto.consignment;

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;

/**
 * Created by ds on 2016/09/21.
 */
@XmlRootElement(name = "ProformaInvoiceTermsAndConditionsDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProformaInvoiceTermsAndConditionsDTO implements Serializable {

    @XmlAttribute(required = true)
    private String header;
    @XmlAttribute(required = true)
    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }
}