1 |
44995
|
panagiotis
|
package eu.dnetlib.goldoa.domain;
|
2 |
|
|
|
3 |
47598
|
antonis.le
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4 |
46350
|
panagiotis
|
|
5 |
47598
|
antonis.le
|
import javax.persistence.Column;
|
6 |
|
|
import javax.persistence.Entity;
|
7 |
|
|
import javax.persistence.Id;
|
8 |
44995
|
panagiotis
|
|
9 |
|
|
|
10 |
|
|
/**
|
11 |
|
|
* The persistent class for the budgetfile database table.
|
12 |
|
|
*
|
13 |
|
|
*/
|
14 |
|
|
@Entity
|
15 |
47598
|
antonis.le
|
public class Budgetfile implements IsSerializable {
|
16 |
44995
|
panagiotis
|
private static final long serialVersionUID = 1L;
|
17 |
|
|
|
18 |
|
|
private byte[] content;
|
19 |
|
|
|
20 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
21 |
44995
|
panagiotis
|
private String contenttype;
|
22 |
|
|
|
23 |
|
|
@Id
|
24 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
25 |
44995
|
panagiotis
|
private String id;
|
26 |
|
|
|
27 |
|
|
public Budgetfile() {
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
public byte[] getContent() {
|
31 |
|
|
return this.content;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
public void setContent(byte[] content) {
|
35 |
|
|
this.content = content;
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
public String getContenttype() {
|
39 |
|
|
return this.contenttype;
|
40 |
|
|
}
|
41 |
|
|
|
42 |
|
|
public void setContenttype(String contenttype) {
|
43 |
|
|
this.contenttype = contenttype;
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
public String getId() {
|
47 |
|
|
return this.id;
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
public void setId(String id) {
|
51 |
|
|
this.id = id;
|
52 |
|
|
}
|
53 |
|
|
|
54 |
46350
|
panagiotis
|
|
55 |
44995
|
panagiotis
|
}
|