Commit 57b8636d authored by Lefebvre michael's avatar Lefebvre michael

17/02/2020 methode emprunt

parent a387d5d7
package dto;
import java.io.Serializable;
import java.sql.Date;
public class EmpruntDTO implements Serializable {
private String nom;
private String prenom;
private String titre;
private Date dateEmprunt;
//GETTER SETTER
......@@ -34,14 +37,23 @@ public class EmpruntDTO implements Serializable {
this.titre = titre;
}
public Date getDateEmprunt() {
return dateEmprunt;
}
public void setDateEmprunt(Date dateEmprunt) {
this.dateEmprunt = dateEmprunt;
}
//CONSTRUCTEUR
public EmpruntDTO(String nom, String prenom, String titre) {
public EmpruntDTO(String nom, String prenom, String titre, Date dateEmprunt) {
super();
this.nom = nom;
this.prenom = prenom;
this.titre = titre;
this.dateEmprunt = dateEmprunt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment