Projet d'école BTS (2018) MAJ:
Reprise du code et amélioration, sécurisation, réparation de BUGs et centralisation des formulaires, remplassement de la BDD par MariaDB
...
A finaliser :
- les Jbuttons.Values,
- Centralisation des listes
- Optimisation du code
- Gestion des cours
...
This commit is contained in:
ccunatbrule
2021-10-28 19:23:25 +02:00
parent cd9e552503
commit 2c6e167d4c
740 changed files with 318354 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
package controleur;
public class Cours
{
private int idcours;
private String datecours, heuredebut, heurefin;
public Cours()
{
this.idcours=0;
this.datecours = this.heuredebut=this.heurefin="";
}
public Cours (int idcours, String datecours, String heuredebut, String heurefin)
{
this.idcours= idcours;
this.datecours = datecours;
this.heuredebut = heuredebut;
this.heurefin = heurefin;
}
public Cours ( String datecours, String heuredebut, String heurefin)
{
this.idcours= 0;
this.datecours = datecours;
this.heuredebut = heuredebut;
this.heurefin = heurefin;
}
public int getIdCours() {
return idcours;
}
public void setIdCours(int idcours) {
this.idcours = idcours;
}
public String getDateCours() {
return datecours;
}
public void setDateCours(String datecours) {
this.datecours = datecours;
}
public String getHeureDebut() {
return heuredebut;
}
public void setHeureDebut(String heuredebut) {
this.heuredebut = heuredebut;
}
public String getHeureFin() {
return heurefin;
}
public void setHeureFin(String heurefin) {
this.heurefin = heurefin;
}
}