ajout model BaseDeDonnees et Rappel

This commit is contained in:
2025-10-19 19:41:15 +02:00
parent 2a3a2e9497
commit ca60cdc8a5
5 changed files with 60 additions and 20 deletions
+22 -4
View File
@@ -1,6 +1,4 @@
package model;
import java.time.LocalDateTime;
package fr.iutfbleau.papillon.model;
public class Rappel {
private int id;
@@ -14,4 +12,24 @@ public class Rappel {
this.contenu = contenu;
this.date = date;
}
}
public Rappel(String titre, String contenu, String theme, int rang){
this(0,titre,contenu,theme,rang);
}
public int getId(){
return id;
}
public String getTitre(){
return titre;
}
public String getContenu(){
return contenu;
}
public String getTheme(){
return theme;
}
public int getRang(){
return rang;
}
}