Files
Ecurie_JavaApp/EcurieJavaApp/Ecurie_ccunatbrule/controleur/Cours.java
ccunatbrule 2c6e167d4c MAJ V2
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
...
2021-10-28 19:23:25 +02:00

51 lines
1.1 KiB
Java

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;
}
}