dnet40/modules/uoa-goldoa-service/branches/hibernate/src/main/java/eu/dnetlib/goldoa/domain/Country.java @ 45083
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 |
public class Country implements Serializable { |
13 |
private static final long serialVersionUID = 1L; |
14 |
@Id
|
15 |
//@Column(columnDefinition = "text")
|
16 |
private String id; |
17 |
//@Column(columnDefinition = "text")
|
18 |
private String name; |
19 |
|
20 |
|
21 |
public Country() { |
22 |
}
|
23 |
|
24 |
public String getId() { |
25 |
return this.id; |
26 |
}
|
27 |
|
28 |
public void setId(String id) { |
29 |
this.id = id; |
30 |
}
|
31 |
|
32 |
public String getName() { |
33 |
return this.name; |
34 |
}
|
35 |
|
36 |
public void setName(String name) { |
37 |
this.name = name; |
38 |
}
|
39 |
|
40 |
}
|