1
|
package eu.dnetlib.goldoa.domain;
|
2
|
|
3
|
import java.io.Serializable;
|
4
|
import javax.persistence.*;
|
5
|
|
6
|
|
7
|
/**
|
8
|
* The persistent class for the country database table.
|
9
|
*
|
10
|
*/
|
11
|
@Entity
|
12
|
@NamedQuery(name="Country.findAll", query="SELECT c FROM Country c")
|
13
|
public class Country implements Serializable {
|
14
|
private static final long serialVersionUID = 1L;
|
15
|
@Id
|
16
|
@Column(columnDefinition = "text")
|
17
|
private String id;
|
18
|
@Column(columnDefinition = "text")
|
19
|
private String name;
|
20
|
|
21
|
|
22
|
public Country() {
|
23
|
}
|
24
|
|
25
|
public String getId() {
|
26
|
return this.id;
|
27
|
}
|
28
|
|
29
|
public void setId(String id) {
|
30
|
this.id = id;
|
31
|
}
|
32
|
|
33
|
public String getName() {
|
34
|
return this.name;
|
35
|
}
|
36
|
|
37
|
public void setName(String name) {
|
38
|
this.name = name;
|
39
|
}
|
40
|
|
41
|
}
|