package eu.dnetlib.goldoa.domain;

import com.google.gwt.user.client.rpc.IsSerializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;


/**
 * The persistent class for the country database table.
 * 
 */
@Entity
//@Cache(usage= CacheConcurrencyStrategy.READ_WRITE,region = "user")
public class Country implements IsSerializable {
	private static final long serialVersionUID = 1L;
	@Id
	@Column(columnDefinition = "text")
	private String id;
	@Column(columnDefinition = "text")
	private String name;

	
	public Country() {
	}

	public Country(String id){
		this.id = id;
	}

	public String getId() {
		return this.id;
	}

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

	public String getName() {
		return this.name;
	}

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

}