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

namespace CG67.FicheCollege.Domaine
{
    [Serializable]
    public class ChiffresSignificatifs
    {
        /// <summary>
        /// Montant total des financements sur les collèges.
        /// </summary>
        private double mMontantTotalFinancements;
        /// <summary>
        /// Nombre total de collégiens.
        /// </summary>
        private int mNbTotalEleves;
        /// <summary>
        /// Montant total des investissments sur les collèges.
        /// </summary>
        private double mMontantTotalInvestissement;
        /// <summary>
        /// Montant total du coût des transports scolaires.
        /// </summary>
        private double mMontantTotalTransportScolaire;

        public double MontantTotalFinancements
        {
            get { return mMontantTotalFinancements; }
            set { mMontantTotalFinancements = value; }
        }
        public int NbTotalEleves
        {
            get { return mNbTotalEleves; }
            set { mNbTotalEleves = value; }
        }
        public double MontantTotalInvestissement
        {
            get { return mMontantTotalInvestissement; }
            set { mMontantTotalInvestissement = value; }
        }
        public double MontantTotalTransportScolaire
        {
            get { return mMontantTotalTransportScolaire; }
            set { mMontantTotalTransportScolaire = value; }
        }

        public ChiffresSignificatifs(double totalFinance, int totalEleve, double totalInvest, double totalTransport)
        {
            this.mMontantTotalFinancements = totalFinance;
            this.mNbTotalEleves = totalEleve;
            this.mMontantTotalInvestissement = totalInvest;
            this.mMontantTotalTransportScolaire = totalTransport;
        }
        public ChiffresSignificatifs() { }
    }
}
