RestaurationExterne.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace CG67.FicheCollege.Domaine
  5. {
  6. [Serializable]
  7. public class RestaurationExterne
  8. {
  9. /// <summary>
  10. /// nom du collège aidant
  11. /// </summary>
  12. private string mNomCollege;
  13. /// <summary>
  14. /// nombre de personnes aidées
  15. /// </summary>
  16. private int mNbrPersonnes;
  17. /// <summary>
  18. /// type d'aide (télérestauration, hébergement, etc...)
  19. /// </summary>
  20. private string mTypeRestauration;
  21. public string NomCollege
  22. {
  23. get { return mNomCollege; }
  24. set { mNomCollege = value; }
  25. }
  26. public int NbrPersonnes
  27. {
  28. get { return mNbrPersonnes; }
  29. set { mNbrPersonnes = value; }
  30. }
  31. public string TypeRestauration
  32. {
  33. get { return mTypeRestauration; }
  34. set { mTypeRestauration = value; }
  35. }
  36. public RestaurationExterne(string nomCollege, int nbrPersonnes, string typeRestauration)
  37. {
  38. this.mNomCollege = nomCollege;
  39. this.mNbrPersonnes = nbrPersonnes;
  40. this.mTypeRestauration = typeRestauration;
  41. }
  42. }
  43. }