using System;
using System.Collections.Generic;
using System.Text;

namespace CG67.FicheCollege.Domaine
{
    [Serializable]
    public class ProgTravaux
    {
        /// <summary>
        /// Année à laquelle le travail sera effectué
        /// </summary>
        private int mAnnee;
        /// <summary>
        /// libellé de ce travail
        /// </summary>
        private string mLibelle;
        /// <summary>
        /// Montant prévisionnel
        /// </summary>
        private double mMontant;
        /// <summary>
        /// type de l'opération (maintenance, rénovation, etc...)
        /// </summary>
        private string mTypeOperation;
        /// <summary>
        /// status de l'opération
        /// </summary>
        private string mStatutOP;

        /// opération prévu ou non 
        /// </summary>
        private int mPrevuOP;


        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 string StatutOp
        {
            get { return mStatutOP; }
            set { mStatutOP = value; }
        }

        public int PrevuOp
        {
            get { return mPrevuOP; }
            set { mPrevuOP = value; }
        }
        public ProgTravaux(int annee, string libelle, double montant, string typeOperation, string statutOp, int prevuOp)
        {
            this.mAnnee = annee;
            this.mTypeOperation = typeOperation;
            this.mLibelle = libelle;
            this.mMontant = montant;
            this.mStatutOP = statutOp;
            this.mPrevuOP = prevuOp;
        }
    }
}
