Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

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

    
5
/**
6
 * Created by antleb on 3/21/15.
7
 */
8
public class InvoiceFile implements IsSerializable {
9
	private Invoice invoice;
10
	private String mimetype;
11
	private byte[] file;
12

    
13
	public InvoiceFile() {
14
	}
15

    
16
	public InvoiceFile(Invoice invoice, String mimetype, byte[] file) {
17
		this.invoice = invoice;
18
		this.mimetype = mimetype;
19
		this.file = file;
20
	}
21

    
22
	public Invoice getInvoice() {
23
		return invoice;
24
	}
25

    
26
	public void setInvoice(Invoice invoice) {
27
		this.invoice = invoice;
28
	}
29

    
30
	public String getMimetype() {
31
		return mimetype;
32
	}
33

    
34
	public void setMimetype(String mimetype) {
35
		this.mimetype = mimetype;
36
	}
37

    
38
	public byte[] getFile() {
39
		return file;
40
	}
41

    
42
	public void setFile(byte[] file) {
43
		this.file = file;
44
	}
45
}
(23-23/55)