|
@@ -13,6 +13,7 @@ public class UsagerDTO {
|
|
public String email;
|
|
public String email;
|
|
public String telephone;
|
|
public String telephone;
|
|
public String contactUrgence;
|
|
public String contactUrgence;
|
|
|
|
+ public String code;
|
|
|
|
|
|
public UsagerDTO() {
|
|
public UsagerDTO() {
|
|
// Constructeur par defaut pour contruire un objet vide
|
|
// Constructeur par defaut pour contruire un objet vide
|
|
@@ -30,6 +31,20 @@ public class UsagerDTO {
|
|
this.telephone = telephone;
|
|
this.telephone = telephone;
|
|
this.contactUrgence = contactUrgence;
|
|
this.contactUrgence = contactUrgence;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public UsagerDTO(String nom, String prenom, String genre, Date dateNaissance, String ville, String situation,
|
|
|
|
+ String email, String telephone, String contactUrgence, String code) {
|
|
|
|
+ this.nom = nom;
|
|
|
|
+ this.prenom = prenom;
|
|
|
|
+ this.genre = genre;
|
|
|
|
+ this.dateNaissance = dateNaissance;
|
|
|
|
+ this.ville = ville;
|
|
|
|
+ this.situation = situation;
|
|
|
|
+ this.email = email;
|
|
|
|
+ this.telephone = telephone;
|
|
|
|
+ this.contactUrgence = contactUrgence;
|
|
|
|
+ this.code = code;
|
|
|
|
+ }
|
|
|
|
|
|
public String getNom() {
|
|
public String getNom() {
|
|
return nom;
|
|
return nom;
|
|
@@ -103,4 +118,12 @@ public class UsagerDTO {
|
|
this.contactUrgence = contactUrgence;
|
|
this.contactUrgence = contactUrgence;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getCode() {
|
|
|
|
+ return code;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCode(String code) {
|
|
|
|
+ this.code = code;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|