2025-06-02 13:19:31 +00:00
|
|
|
|
namespace projet.modele
|
2025-05-27 14:17:40 +00:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Représente un motif d'absence
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class Motif
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>Identifiant du motif</summary>
|
|
|
|
|
|
public int IdMotif { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>Libellé du motif</summary>
|
|
|
|
|
|
public string Libelle { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Constructeur de la classe Motif
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Motif(int idMotif, string libelle)
|
|
|
|
|
|
{
|
|
|
|
|
|
IdMotif = idMotif;
|
|
|
|
|
|
Libelle = libelle;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|