![JAR search and dependency download from the Maven repository](/logo.png)
com.evasion.entity.postal.Adresse Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.entity.postal;
import com.evasion.EntityJPA;
import com.evasion.entity.geolocation.Country;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* Definit le comtenu d'une adresse au format international.
* definition tire du site : http://en.wikipedia.org/wiki/Address_(geography)
*
* Le nom de la personne et/ou de l'entreprise seront rattache avec une methode abstraite.
* @author user
*/
@Entity
public class Adresse extends EntityJPA {
/***
* serialVersionUID.
*/
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue
private Long id;
@Column(nullable = false, length = 512)
private String rue;
@Column(nullable = true, length = 255)
private String quartier;
@Column(nullable = false, length = 255)
private String ville;
private String etat;
private Country country;
private String postCode;
@Override
public Long getId() {
return this.id;
}
@Override
public void setId(Long id) {
this.id=id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy