Project

General

Profile

« Previous | Next » 

Revision 49899

added javax.persistance annotations

View differences:

Identity.java
1 1
package eu.dnetlib.enabling.datasources.common;
2 2

  
3
import javax.persistence.Id;
4
import javax.persistence.MappedSuperclass;
5

  
3 6
/**
4 7
 * Created by claudio on 13/04/2017.
5 8
 */
6

  
9
@MappedSuperclass
7 10
public class Identity {
8 11

  
9
	private String pid;
12
	@Id
13
	protected String pid;
10 14

  
11
	private String issuertype;
15
	protected String issuertype;
12 16

  
13 17
	public Identity() {}
14 18

  

Also available in: Unified diff