Project

General

Profile

1 44995 panagiotis
package eu.dnetlib.goldoa.domain;
2
3 47598 antonis.le
import com.google.gwt.user.client.rpc.IsSerializable;
4
5
import javax.persistence.*;
6 44995 panagiotis
import java.util.ArrayList;
7
import java.util.List;
8
9
10
/**
11
 * The persistent class for the funder database table.
12
 *
13
 */
14
@Entity
15 47598 antonis.le
public class Funder implements IsSerializable {
16 44995 panagiotis
	private static final long serialVersionUID = 1L;
17
	@Id
18 46138 panagiotis
	@Column(columnDefinition = "text")
19 44995 panagiotis
	private String id;
20 46138 panagiotis
	@Column(columnDefinition = "text")
21 44995 panagiotis
	private String name;
22 46138 panagiotis
	@Column(columnDefinition = "text")
23 44995 panagiotis
	private String source;
24 46138 panagiotis
	@Column(columnDefinition = "text")
25 44995 panagiotis
	private String url;
26
27 45595 panagiotis
	@OneToMany(fetch = FetchType.LAZY, mappedBy = "pk.funder")
28
	private List<RequestCoFunder> requestCoFunders = new ArrayList<>();
29 44995 panagiotis
30
	public Funder() {
31
	}
32
33
	public String getId() {
34
		return this.id;
35
	}
36
37
	public void setId(String id) {
38
		this.id = id;
39
	}
40
41
	public String getName() {
42
		return this.name;
43
	}
44
45
	public void setName(String name) {
46
		this.name = name;
47
	}
48
49
	public String getSource() {
50
		return this.source;
51
	}
52
53
	public void setSource(String source) {
54
		this.source = source;
55
	}
56
57
	public String getUrl() {
58
		return this.url;
59
	}
60
61
	public void setUrl(String url) {
62
		this.url = url;
63
	}
64
65
}