43 lines
715 B
Java
43 lines
715 B
Java
package eu.dnetlib.is.context.model;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "contexts")
|
|
public class Context extends CtxInfo {
|
|
|
|
private static final long serialVersionUID = -8290775989306039922L;
|
|
|
|
@Id
|
|
@Column(name = "id")
|
|
private String id;
|
|
|
|
@Column(name = "type")
|
|
private String type;
|
|
|
|
@Override
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
@Override
|
|
public void setId(final String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(final String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public static long getSerialversionuid() {
|
|
return serialVersionUID;
|
|
}
|
|
}
|