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 publication_identifier database table.
|
9
|
*
|
10
|
*/
|
11
|
@Entity
|
12
|
@Table(name="publication_identifier")
|
13
|
public class Identifier implements Serializable {
|
14
|
private static final long serialVersionUID = 1L;
|
15
|
|
16
|
@Id
|
17
|
//@Column(columnDefinition = "text")
|
18
|
private String id;
|
19
|
//@Column(columnDefinition = "text")
|
20
|
private String identifier;
|
21
|
//@Column(columnDefinition = "text")
|
22
|
private String type;
|
23
|
private Publication publication;
|
24
|
|
25
|
public Identifier() {}
|
26
|
|
27
|
public Identifier(String type, String identifier) {
|
28
|
this.type = type;
|
29
|
this.identifier = identifier;
|
30
|
}
|
31
|
|
32
|
public String getIdentifier() {
|
33
|
return this.identifier;
|
34
|
}
|
35
|
|
36
|
public void setIdentifier(String identifier) {
|
37
|
this.identifier = identifier;
|
38
|
}
|
39
|
|
40
|
public String getType() {
|
41
|
return this.type;
|
42
|
}
|
43
|
|
44
|
public void setType(String type) {
|
45
|
this.type = type;
|
46
|
}
|
47
|
|
48
|
public String getId() {
|
49
|
return id;
|
50
|
}
|
51
|
|
52
|
public void setId(String id) {
|
53
|
this.id = id;
|
54
|
}
|
55
|
|
56
|
}
|