Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

    
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

    
5
import javax.persistence.Column;
6
import javax.persistence.Entity;
7
import javax.persistence.Id;
8

    
9

    
10
/**
11
 * The persistent class for the budgetfile database table.
12
 * 
13
 */
14
@Entity
15
public class Budgetfile implements IsSerializable {
16
	private static final long serialVersionUID = 1L;
17

    
18
	private byte[] content;
19

    
20
	@Column(columnDefinition = "text")
21
	private String contenttype;
22

    
23
	@Id
24
	@Column(columnDefinition = "text")
25
	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

    
55
}
(9-9/52)