ProgTravaux.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. public int Annee
  30. {
  31. get { return mAnnee; }
  32. set { mAnnee = value; }
  33. }
  34. public string Libelle
  35. {
  36. get { return mLibelle; }
  37. set { mLibelle = value; }
  38. }
  39. public double Montant
  40. {
  41. get { return mMontant; }
  42. set { mMontant = value; }
  43. }
  44. public string TypeOperation
  45. {
  46. get { return mTypeOperation; }
  47. set { mTypeOperation = value; }
  48. }
  49. public string StatutOp
  50. {
  51. get { return mStatutOP; }
  52. set { mStatutOP = value; }
  53. }
  54. public ProgTravaux(int annee, string libelle, double montant, string typeOperation, string statutOp)
  55. {
  56. this.mAnnee = annee;
  57. this.mTypeOperation = typeOperation;
  58. this.mLibelle = libelle;
  59. this.mMontant = montant;
  60. this.mStatutOP = statutOp;
  61. }
  62. }
  63. }