using System; using System.Collections.Generic; using System.Text; namespace CG67.FicheCollege.Domaine { [Serializable] public class Investissement { /// /// Année à laquelle le travail sera effectué /// private int mAnnee; /// /// Type de l'investissement. /// private string mType; /// /// Stade avancement. /// private string mAvancement; /// /// Montant de l'investissement. /// private double mMontantOp; /// /// A venir. /// private double mMontantCP; /// /// Montant CP a venir. /// private string mCommentaire; /// /// Status. private string mStatus; /// /// date de livraison. private string mDateLivraison; public int Annee { get { return mAnnee; } set { mAnnee = value; } } /// /// Obtient ou définit le type de l'investissement. /// /// public string Type { get { return mType; } set { mType = value; } } /// /// Obtient ou défini l'avancement /// public string Avancement { get { return mAvancement; } set { mAvancement = value; } } /// /// Obtient ou définit le commentaire associé à l'investissement. /// public string Commentaire { get { return mCommentaire; } set { mCommentaire = value; } } /// /// Obtient ou définit le montant de l'investissement. /// public double MontantOp { get { return mMontantOp; } set { mMontantOp = value; } } /// /// Obtient ou définit le montant du compte prévisionnel. /// public double MontantCP { get { return mMontantCP; } set { mMontantCP = value; } } /// /// Obtient ou définit le status de l'opération /// public string Status { get { return mStatus; } set { mStatus = value; } } /// /// Obtient ou définit la date de livraison /// public string DateLivraison { get { return mDateLivraison; } set { mDateLivraison = value; } } public Investissement(int annee, string type, string avancement, string commentaire, double montantOp, double montantCP, string status, string datelivraison) { this.mAnnee = annee; this.mType = type; this.mAvancement = avancement; this.mMontantOp = montantOp; this.mMontantCP = montantCP; this.mCommentaire = commentaire; this.mStatus = status; this.mDateLivraison = datelivraison; } } }