SARSCountryCode.java

package com.tradecloud.domain.export;

import com.tradecloud.domain.common.IntegratedStaticDataEntityBase;
import org.springframework.stereotype.Component;

import javax.persistence.*;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@Entity
@Component(value = "SARSCountryCode")
@Table(name = "sarscountrycode", uniqueConstraints = {@UniqueConstraint(columnNames = {"code"})})
@Access(AccessType.FIELD)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "SARSCountryCode")
public class SARSCountryCode extends IntegratedStaticDataEntityBase {

    private static final Long serialVersionUID = 1L;

    private String sarscode;
    private String currencycode;

    public SARSCountryCode() {
    }

    public String getSarscode() {
        return sarscode;
    }

    public void setSarscode(String sarscode) {
        this.sarscode = sarscode;
    }

    public String getCurrencycode() {
        return currencycode;
    }

    public void setCurrencycode(String currencycode) {
        this.currencycode = currencycode;
    }

}