Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

    
3
import java.io.Serializable;
4

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

    
13
    public InvoiceFile() {
14
    }
15

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

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

    
26
    public void setInvoice(String 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
}
(5-5/23)