1 |
44994
|
panagiotis
|
package model;
|
2 |
|
|
|
3 |
47598
|
antonis.le
|
import javax.persistence.Entity;
|
4 |
|
|
import javax.persistence.NamedQuery;
|
5 |
|
|
import javax.persistence.Table;
|
6 |
44994
|
panagiotis
|
import java.io.Serializable;
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
/**
|
10 |
|
|
* The persistent class for the gold_organizations database table.
|
11 |
|
|
*
|
12 |
|
|
*/
|
13 |
|
|
@Entity
|
14 |
|
|
@Table(name="gold_organizations")
|
15 |
|
|
@NamedQuery(name="GoldOrganization.findAll", query="SELECT g FROM GoldOrganization g")
|
16 |
|
|
public class GoldOrganization implements Serializable {
|
17 |
|
|
private static final long serialVersionUID = 1L;
|
18 |
|
|
|
19 |
|
|
private String country;
|
20 |
|
|
|
21 |
|
|
private String name;
|
22 |
|
|
|
23 |
|
|
private String organization;
|
24 |
|
|
|
25 |
|
|
private String project;
|
26 |
|
|
|
27 |
|
|
private String shortname;
|
28 |
|
|
|
29 |
|
|
public GoldOrganization() {
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
public String getCountry() {
|
33 |
|
|
return this.country;
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
public void setCountry(String country) {
|
37 |
|
|
this.country = country;
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
public String getName() {
|
41 |
|
|
return this.name;
|
42 |
|
|
}
|
43 |
|
|
|
44 |
|
|
public void setName(String name) {
|
45 |
|
|
this.name = name;
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
public String getOrganization() {
|
49 |
|
|
return this.organization;
|
50 |
|
|
}
|
51 |
|
|
|
52 |
|
|
public void setOrganization(String organization) {
|
53 |
|
|
this.organization = organization;
|
54 |
|
|
}
|
55 |
|
|
|
56 |
|
|
public String getProject() {
|
57 |
|
|
return this.project;
|
58 |
|
|
}
|
59 |
|
|
|
60 |
|
|
public void setProject(String project) {
|
61 |
|
|
this.project = project;
|
62 |
|
|
}
|
63 |
|
|
|
64 |
|
|
public String getShortname() {
|
65 |
|
|
return this.shortname;
|
66 |
|
|
}
|
67 |
|
|
|
68 |
|
|
public void setShortname(String shortname) {
|
69 |
|
|
this.shortname = shortname;
|
70 |
|
|
}
|
71 |
|
|
|
72 |
|
|
}
|