54 lines
989 B
Java
54 lines
989 B
Java
package eu.dnetlib.is.context.model;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.IdClass;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "context_cat_concepts_lvl_0")
|
|
@IdClass(ConceptLevel0PK.class)
|
|
public class ConceptLevel0 extends CtxInfoWithClaim {
|
|
|
|
private static final long serialVersionUID = -4775331902088912839L;
|
|
|
|
@Id
|
|
@Column(name = "id")
|
|
private String id;
|
|
|
|
@Id
|
|
@Column(name = "ctx_id")
|
|
private String contextId;
|
|
|
|
@Id
|
|
@Column(name = "cat_id")
|
|
private String categoryId;
|
|
|
|
@Override
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
@Override
|
|
public void setId(final String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getContextId() {
|
|
return contextId;
|
|
}
|
|
|
|
public void setContextId(final String contextId) {
|
|
this.contextId = contextId;
|
|
}
|
|
|
|
public String getCategoryId() {
|
|
return categoryId;
|
|
}
|
|
|
|
public void setCategoryId(final String categoryId) {
|
|
this.categoryId = categoryId;
|
|
}
|
|
}
|