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 publication_affiliation database table.
9
 * 
10
 */
11
@Entity
12
@Table(name="publication_author")
13
public class Publication_Author implements Serializable {
14
	private static final long serialVersionUID = 1L;
15

    
16
	@Id
17
	@ManyToOne
18
    @JoinColumn(name = "author")
19
	private Author author;
20

    
21
	@Id
22
	@ManyToOne
23
    @JoinColumn(name = "publication")
24
	private Publication publication;
25

    
26
	public Publication_Author() {
27
	}
28

    
29
	
30
	public Author getAuthor() {
31
		return author;
32
	}
33

    
34

    
35
	public void setAuthor(Author author) {
36
		this.author = author;
37
	}
38

    
39

    
40

    
41
	public Publication getPublication() {
42
		return this.publication;
43
	}
44

    
45
	public void setPublication(Publication publication) {
46
		this.publication = publication;
47
	}
48

    
49
}
(30-30/40)