
com.evasion.plugin.geoloc.RegionAdm1 Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.plugin.geoloc;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
/**
*
* @author sebastien.glon
*/
@Entity
public class RegionAdm1 implements Serializable {
@OneToMany(mappedBy = "adm1")
private List regionAdm2s;
@Id
private String code;
private String nom;
@ManyToOne
private Country ctCode;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy