Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

    
3
import com.fasterxml.jackson.annotation.JsonBackReference;
4

    
5
import java.io.Serializable;
6
import javax.persistence.*;
7

    
8

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

    
17
	private byte[] content;
18

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

    
22
	@Id
23
	@Column(columnDefinition = "text")
24
	private String id;
25

    
26
	public Budgetfile() {
27
	}
28

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

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

    
37
	public String getContenttype() {
38
		return this.contenttype;
39
	}
40

    
41
	public void setContenttype(String contenttype) {
42
		this.contenttype = contenttype;
43
	}
44

    
45
	public String getId() {
46
		return this.id;
47
	}
48

    
49
	public void setId(String id) {
50
		this.id = id;
51
	}
52

    
53

    
54
}
(9-9/52)