Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Model;
- public class Compte {
- private String telephone;
- private String mdp;
- private String prenom;
- private String nom;
- private Voiture voiture;
- public Compte(String telephone, String mdp, String prenom, String nom, Voiture voiture) {
- this.telephone = telephone;
- this.mdp = mdp;
- this.prenom = prenom;
- this.nom = nom;
- this.voiture = voiture;
- }
- public String getTelephone() {
- return telephone;
- }
- public void setTelephone(String telephone) {
- this.telephone = telephone;
- }
- public String getMdp() {
- return mdp;
- }
- public void setMdp(String mdp) {
- this.mdp = mdp;
- }
- public String getPrenom() {
- return prenom;
- }
- public void setPrenom(String prenom) {
- this.prenom = prenom;
- }
- public String getNom() {
- return nom;
- }
- public void setNom(String nom) {
- this.nom = nom;
- }
- public Voiture getVoiture() {
- return voiture;
- }
- public void setVoiture(Voiture voiture) {
- this.voiture = voiture;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement