1 |
44995
|
panagiotis
|
package eu.dnetlib.goldoa.domain;
|
2 |
|
|
|
3 |
47598
|
antonis.le
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4 |
|
|
|
5 |
44995
|
panagiotis
|
import javax.persistence.*;
|
6 |
|
|
import java.util.Date;
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
/**
|
10 |
|
|
* The persistent class for the invoice database table.
|
11 |
|
|
*
|
12 |
|
|
*/
|
13 |
|
|
@Entity
|
14 |
47598
|
antonis.le
|
public class Invoice implements IsSerializable {
|
15 |
44995
|
panagiotis
|
private static final long serialVersionUID = 1L;
|
16 |
|
|
@Id
|
17 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
18 |
44995
|
panagiotis
|
private String id;
|
19 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
20 |
44995
|
panagiotis
|
private String alternativeid;
|
21 |
|
|
@Temporal(TemporalType.DATE)
|
22 |
|
|
private Date date;
|
23 |
47260
|
panagiotis
|
|
24 |
|
|
|
25 |
|
|
@OneToOne(cascade = CascadeType.ALL)
|
26 |
44995
|
panagiotis
|
@JoinColumn(name = "file")
|
27 |
|
|
private File file;
|
28 |
46138
|
panagiotis
|
|
29 |
|
|
@Column(columnDefinition = "text")
|
30 |
44995
|
panagiotis
|
private String number;
|
31 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
32 |
44995
|
panagiotis
|
private String source;
|
33 |
46138
|
panagiotis
|
@Column(columnDefinition = "text")
|
34 |
44995
|
panagiotis
|
private String status;
|
35 |
|
|
|
36 |
|
|
public Invoice() {
|
37 |
|
|
}
|
38 |
|
|
|
39 |
45623
|
panagiotis
|
public String getAlternativeId() {
|
40 |
44995
|
panagiotis
|
return this.alternativeid;
|
41 |
|
|
}
|
42 |
|
|
|
43 |
45623
|
panagiotis
|
public void setAlternativeId(String alternativeid) {
|
44 |
44995
|
panagiotis
|
this.alternativeid = alternativeid;
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
public Date getDate() {
|
48 |
|
|
return this.date;
|
49 |
|
|
}
|
50 |
|
|
|
51 |
|
|
public void setDate(Date date) {
|
52 |
|
|
this.date = date;
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
public File getFile() {
|
56 |
|
|
return this.file;
|
57 |
|
|
}
|
58 |
|
|
|
59 |
|
|
public void setFile(File file) {
|
60 |
|
|
this.file = file;
|
61 |
|
|
}
|
62 |
|
|
|
63 |
|
|
public String getId() {
|
64 |
|
|
return this.id;
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
public void setId(String id) {
|
68 |
|
|
this.id = id;
|
69 |
|
|
}
|
70 |
|
|
|
71 |
|
|
public String getNumber() {
|
72 |
|
|
return this.number;
|
73 |
|
|
}
|
74 |
|
|
|
75 |
|
|
public void setNumber(String number) {
|
76 |
|
|
this.number = number;
|
77 |
|
|
}
|
78 |
|
|
|
79 |
|
|
public String getSource() {
|
80 |
|
|
return this.source;
|
81 |
|
|
}
|
82 |
|
|
|
83 |
|
|
public void setSource(String source) {
|
84 |
|
|
this.source = source;
|
85 |
|
|
}
|
86 |
|
|
|
87 |
|
|
public String getStatus() {
|
88 |
|
|
return this.status;
|
89 |
|
|
}
|
90 |
|
|
|
91 |
|
|
public void setStatus(String status) {
|
92 |
|
|
this.status = status;
|
93 |
|
|
}
|
94 |
|
|
|
95 |
|
|
}
|