Advertisement
Guest User

Untitled

a guest
May 21st, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. package Model;
  2.  
  3. public class Compte {
  4.  
  5. private String telephone;
  6. private String mdp;
  7. private String prenom;
  8. private String nom;
  9. private Voiture voiture;
  10.  
  11. public Compte(String telephone, String mdp, String prenom, String nom, Voiture voiture) {
  12. this.telephone = telephone;
  13. this.mdp = mdp;
  14. this.prenom = prenom;
  15. this.nom = nom;
  16. this.voiture = voiture;
  17. }
  18.  
  19. public String getTelephone() {
  20. return telephone;
  21. }
  22.  
  23. public void setTelephone(String telephone) {
  24. this.telephone = telephone;
  25. }
  26.  
  27. public String getMdp() {
  28. return mdp;
  29. }
  30.  
  31. public void setMdp(String mdp) {
  32. this.mdp = mdp;
  33. }
  34.  
  35. public String getPrenom() {
  36. return prenom;
  37. }
  38.  
  39. public void setPrenom(String prenom) {
  40. this.prenom = prenom;
  41. }
  42.  
  43. public String getNom() {
  44. return nom;
  45. }
  46.  
  47. public void setNom(String nom) {
  48. this.nom = nom;
  49. }
  50.  
  51. public Voiture getVoiture() {
  52. return voiture;
  53. }
  54.  
  55. public void setVoiture(Voiture voiture) {
  56. this.voiture = voiture;
  57. }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement