package sw.wine.model.user; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Client { /** * L'identifiant du client. */ @Id @GeneratedValue private int id; /** * Le nom du client. */ private String nom; /** * La quantité d'argent que le client possède sur son compte de location. */ private double compte; public String getNom() { return nom; } public void setNom(String nom) { this.nom = nom; } public int getId() { return id; } public double getCompte() { return compte; } public void setCompte(double compte) { this.compte = compte; } }