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 budgetfile database table.
|
9
|
*
|
10
|
*/
|
11
|
@Entity
|
12
|
@NamedQuery(name="Budgetfile.findAll", query="SELECT b FROM Budgetfile b")
|
13
|
public class Budgetfile implements Serializable {
|
14
|
private static final long serialVersionUID = 1L;
|
15
|
|
16
|
private byte[] content;
|
17
|
|
18
|
@Column(columnDefinition = "text")
|
19
|
private String contenttype;
|
20
|
|
21
|
@Id
|
22
|
@Column(columnDefinition = "text")
|
23
|
private String id;
|
24
|
|
25
|
public Budgetfile() {
|
26
|
}
|
27
|
|
28
|
public byte[] getContent() {
|
29
|
return this.content;
|
30
|
}
|
31
|
|
32
|
public void setContent(byte[] content) {
|
33
|
this.content = content;
|
34
|
}
|
35
|
|
36
|
public String getContenttype() {
|
37
|
return this.contenttype;
|
38
|
}
|
39
|
|
40
|
public void setContenttype(String contenttype) {
|
41
|
this.contenttype = contenttype;
|
42
|
}
|
43
|
|
44
|
public String getId() {
|
45
|
return this.id;
|
46
|
}
|
47
|
|
48
|
public void setId(String id) {
|
49
|
this.id = id;
|
50
|
}
|
51
|
|
52
|
}
|