64 lines
1.1 KiB
Java
64 lines
1.1 KiB
Java
package eu.dnetlib.organizations.model.view;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
import eu.dnetlib.organizations.model.utils.OpenaireGraphNode;
|
|
|
|
@Entity
|
|
@Table(name = "persistent_orgs_view")
|
|
public class PersistentOrganizationView extends OpenaireGraphNode implements Serializable {
|
|
|
|
private static final long serialVersionUID = -8906936709574708538L;
|
|
|
|
@Id
|
|
@Column(name = "id")
|
|
private String id;
|
|
|
|
@Column(name = "name")
|
|
private String name;
|
|
|
|
@Column(name = "city")
|
|
private String city;
|
|
|
|
@Column(name = "country")
|
|
private String country;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(final String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(final String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getCity() {
|
|
return city;
|
|
}
|
|
|
|
public void setCity(final String city) {
|
|
this.city = city;
|
|
}
|
|
|
|
public String getCountry() {
|
|
return country;
|
|
}
|
|
|
|
public void setCountry(final String country) {
|
|
this.country = country;
|
|
}
|
|
|
|
}
|