ProjetPilote.cs 975 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace CG67.FicheCollege.Domaine
  5. {
  6. /// <summary>
  7. /// si l'instance existe, c'est que le collège participe ...
  8. /// du coup, seul le libelle sufit.
  9. /// </summary>
  10. [Serializable]
  11. public class ProjetPilote
  12. {
  13. /// <summary>
  14. /// Libellé du projet pilote.
  15. /// </summary>
  16. private string mLibelle;
  17. private bool mParticipe;
  18. /// <summary>
  19. /// Obtient ou définit le libellé du projet pilote.
  20. /// </summary>
  21. public string Libelle
  22. {
  23. get { return mLibelle; }
  24. set { mLibelle = value; }
  25. }
  26. public bool Participe
  27. {
  28. get { return mParticipe; }
  29. set { mParticipe = value; }
  30. }
  31. public ProjetPilote(string libelle,bool participe)
  32. {
  33. mLibelle = libelle;
  34. mParticipe = participe;
  35. }
  36. }
  37. }