ProgTravaux.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace CG67.FicheCollege.Domaine
  5. {
  6. [Serializable]
  7. public class ProgTravaux
  8. {
  9. /// <summary>
  10. /// Année à laquelle le travail sera effectué
  11. /// </summary>
  12. private int mAnnee;
  13. /// <summary>
  14. /// libellé de ce travail
  15. /// </summary>
  16. private string mLibelle;
  17. /// <summary>
  18. /// Montant prévisionnel
  19. /// </summary>
  20. private double mMontant;
  21. /// <summary>
  22. /// type de l'opération (maintenance, rénovation, etc...)
  23. /// </summary>
  24. private string mTypeOperation;
  25. /// <summary>
  26. /// status de l'opération
  27. /// </summary>
  28. private string mStatutOP;
  29. /// opération prévu ou non
  30. /// </summary>
  31. private int mPrevuOP;
  32. public int Annee
  33. {
  34. get { return mAnnee; }
  35. set { mAnnee = value; }
  36. }
  37. public string Libelle
  38. {
  39. get { return mLibelle; }
  40. set { mLibelle = value; }
  41. }
  42. public double Montant
  43. {
  44. get { return mMontant; }
  45. set { mMontant = value; }
  46. }
  47. public string TypeOperation
  48. {
  49. get { return mTypeOperation; }
  50. set { mTypeOperation = value; }
  51. }
  52. public string StatutOp
  53. {
  54. get { return mStatutOP; }
  55. set { mStatutOP = value; }
  56. }
  57. public int PrevuOp
  58. {
  59. get { return mPrevuOP; }
  60. set { mPrevuOP = value; }
  61. }
  62. public ProgTravaux(int annee, string libelle, double montant, string typeOperation, string statutOp, int prevuOp)
  63. {
  64. this.mAnnee = annee;
  65. this.mTypeOperation = typeOperation;
  66. this.mLibelle = libelle;
  67. this.mMontant = montant;
  68. this.mStatutOP = statutOp;
  69. this.mPrevuOP = prevuOp;
  70. }
  71. }
  72. }