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 file database table.
9
 * 
10
 */
11
@Entity
12
public class File implements Serializable {
13
	private static final long serialVersionUID = 1L;
14
	@Id
15
	//@Column(columnDefinition = "text")
16
	private String id;
17
	
18
	private byte[] file;
19
	
20
	//@Column(columnDefinition = "text")
21
	private String mimetype;
22

    
23
	public File() {
24
	}
25

    
26
	public byte[] getFile() {
27
		return this.file;
28
	}
29

    
30
	public void setFile(byte[] file) {
31
		this.file = file;
32
	}
33

    
34
	public String getMimetype() {
35
		return this.mimetype;
36
	}
37

    
38
	public void setMimetype(String mimetype) {
39
		this.mimetype = mimetype;
40
	}
41

    
42
}
(38-38/117)