ajout model BaseDeDonnees et Rappel
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user