1
|
package eu.dnetlib.organizations.model.view;
|
2
|
|
3
|
import java.io.Serializable;
|
4
|
|
5
|
import javax.persistence.Column;
|
6
|
import javax.persistence.Entity;
|
7
|
import javax.persistence.Id;
|
8
|
import javax.persistence.IdClass;
|
9
|
import javax.persistence.Table;
|
10
|
|
11
|
@Entity
|
12
|
@Table(name = "warnings_view")
|
13
|
@IdClass(WarningViewPK.class)
|
14
|
public class WarningView implements Serializable {
|
15
|
|
16
|
/**
|
17
|
*
|
18
|
*/
|
19
|
private static final long serialVersionUID = -6621501199394187765L;
|
20
|
|
21
|
@Id
|
22
|
@Column(name = "id_1")
|
23
|
private String id1;
|
24
|
|
25
|
@Id
|
26
|
@Column(name = "id_2")
|
27
|
private String id2;
|
28
|
|
29
|
@Column(name = "name_1")
|
30
|
private String name1;
|
31
|
|
32
|
@Column(name = "name_2")
|
33
|
private String name2;
|
34
|
|
35
|
@Column(name = "type_1")
|
36
|
private String type1;
|
37
|
|
38
|
@Column(name = "type_2")
|
39
|
private String type2;
|
40
|
|
41
|
@Column(name = "city_1")
|
42
|
private String city1;
|
43
|
|
44
|
@Column(name = "city_2")
|
45
|
private String city2;
|
46
|
|
47
|
@Column(name = "country_1")
|
48
|
private String country1;
|
49
|
|
50
|
@Column(name = "country_2")
|
51
|
private String country2;
|
52
|
|
53
|
public String getId1() {
|
54
|
return id1;
|
55
|
}
|
56
|
|
57
|
public void setId1(final String id1) {
|
58
|
this.id1 = id1;
|
59
|
}
|
60
|
|
61
|
public String getId2() {
|
62
|
return id2;
|
63
|
}
|
64
|
|
65
|
public void setId2(final String id2) {
|
66
|
this.id2 = id2;
|
67
|
}
|
68
|
|
69
|
public String getName1() {
|
70
|
return name1;
|
71
|
}
|
72
|
|
73
|
public void setName1(final String name1) {
|
74
|
this.name1 = name1;
|
75
|
}
|
76
|
|
77
|
public String getName2() {
|
78
|
return name2;
|
79
|
}
|
80
|
|
81
|
public void setName2(final String name2) {
|
82
|
this.name2 = name2;
|
83
|
}
|
84
|
|
85
|
public String getType1() {
|
86
|
return type1;
|
87
|
}
|
88
|
|
89
|
public void setType1(final String type1) {
|
90
|
this.type1 = type1;
|
91
|
}
|
92
|
|
93
|
public String getType2() {
|
94
|
return type2;
|
95
|
}
|
96
|
|
97
|
public void setType2(final String type2) {
|
98
|
this.type2 = type2;
|
99
|
}
|
100
|
|
101
|
public String getCity1() {
|
102
|
return city1;
|
103
|
}
|
104
|
|
105
|
public void setCity1(final String city1) {
|
106
|
this.city1 = city1;
|
107
|
}
|
108
|
|
109
|
public String getCity2() {
|
110
|
return city2;
|
111
|
}
|
112
|
|
113
|
public void setCity2(final String city2) {
|
114
|
this.city2 = city2;
|
115
|
}
|
116
|
|
117
|
public String getCountry1() {
|
118
|
return country1;
|
119
|
}
|
120
|
|
121
|
public void setCountry1(final String country1) {
|
122
|
this.country1 = country1;
|
123
|
}
|
124
|
|
125
|
public String getCountry2() {
|
126
|
return country2;
|
127
|
}
|
128
|
|
129
|
public void setCountry2(final String country2) {
|
130
|
this.country2 = country2;
|
131
|
}
|
132
|
|
133
|
}
|