ProgTravaux.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. public int Annee
  26. {
  27. get { return mAnnee; }
  28. set { mAnnee = value; }
  29. }
  30. public string Libelle
  31. {
  32. get { return mLibelle; }
  33. set { mLibelle = value; }
  34. }
  35. public double Montant
  36. {
  37. get { return mMontant; }
  38. set { mMontant = value; }
  39. }
  40. public string TypeOperation
  41. {
  42. get { return mTypeOperation; }
  43. set { mTypeOperation = value; }
  44. }
  45. public ProgTravaux(int annee, string libelle, double montant, string typeOperation)
  46. {
  47. this.mAnnee = annee;
  48. this.mLibelle = libelle;
  49. this.mMontant = montant;
  50. }
  51. }
  52. }