AtelierProDM/src/java/beans/PompierDispo.java
2025-01-09 21:29:22 +01:00

64 lines
1.6 KiB
Java

/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package beans;
public class PompierDispo {
private int idJour;
private int idPompier;
private int idTranche;
private Integer idDisponibilite;
public PompierDispo() {}
public PompierDispo(int idJour, int idPompier, int idTranche, Integer idDisponibilite) {
this.idJour = idJour;
this.idPompier = idPompier;
this.idTranche = idTranche;
this.idDisponibilite = idDisponibilite;
}
public int getIdJour() {
return idJour;
}
public void setIdJour(int idJour) {
this.idJour = idJour;
}
public int getIdPompier() {
return idPompier;
}
public void setIdPompier(int idPompier) {
this.idPompier = idPompier;
}
public int getIdTranche() {
return idTranche;
}
public void setIdTranche(int idTranche) {
this.idTranche = idTranche;
}
public Integer getIdDisponibilite() {
return idDisponibilite;
}
public void setIdDisponibilite(Integer idDisponibilite) {
this.idDisponibilite = idDisponibilite;
}
@Override
public String toString() {
return "PompierDispo{" +
"idJour=" + idJour +
", idPompier=" + idPompier +
", idTranche=" + idTranche +
", idDisponibilite=" + idDisponibilite +
'}';
}
}