Project

General

Profile

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
public class Budgetfile implements Serializable {
13
	private static final long serialVersionUID = 1L;
14

    
15
	private byte[] content;
16

    
17
	//@Column(columnDefinition = "text")
18
	private String contenttype;
19

    
20
	@Id
21
	//@Column(columnDefinition = "text")
22
	private String id;
23

    
24
	public Budgetfile() {
25
	}
26

    
27
	public byte[] getContent() {
28
		return this.content;
29
	}
30

    
31
	public void setContent(byte[] content) {
32
		this.content = content;
33
	}
34

    
35
	public String getContenttype() {
36
		return this.contenttype;
37
	}
38

    
39
	public void setContenttype(String contenttype) {
40
		this.contenttype = contenttype;
41
	}
42

    
43
	public String getId() {
44
		return this.id;
45
	}
46

    
47
	public void setId(String id) {
48
		this.id = id;
49
	}
50

    
51
}
(10-10/52)