using System; using System.Collections.Generic; using System.Text; namespace CG67.FicheCollege.Domaine { [Serializable] public class ProgTravaux { /// /// Année à laquelle le travail sera effectué /// private int mAnnee; /// /// libellé de ce travail /// private string mLibelle; /// /// Montant prévisionnel /// private double mMontant; /// /// type de l'opération (maintenance, rénovation, etc...) /// private string mTypeOperation; public int Annee { get { return mAnnee; } set { mAnnee = value; } } public string Libelle { get { return mLibelle; } set { mLibelle = value; } } public double Montant { get { return mMontant; } set { mMontant = value; } } public string TypeOperation { get { return mTypeOperation; } set { mTypeOperation = value; } } public ProgTravaux(int annee, string libelle, double montant, string typeOperation) { this.mAnnee = annee; this.mLibelle = libelle; this.mMontant = montant; } } }