![JAR search and dependency download from the Maven repository](/logo.png)
com.evasion.entity.geolocation.Thoroughfare Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.entity.geolocation;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
/**
*
* @author sebastien.glon
*/
@Entity
public class Thoroughfare implements Serializable{
/***
* serialVersionUID.
*/
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue
private Long id;
@ManyToOne
private Locality locality;
private String name;
@OneToOne
private PostalCode postalCode;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy