| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace CG67.FicheCollege.Domaine
- {
- [Serializable]
- public class ActionEducative
- {
- /// <summary>
- /// Libellé de l'action éducative.
- /// </summary>
- private string mLibelle;
- /// <summary>
- /// Le collège participe ou pas à cette action.
- /// </summary>
- ///
- private bool mParticipe;
- /// <summary>
- /// Nombre d'élèves ayant participés à cette action.
- /// </summary>
- ///
- private int mNbrEleves;
- /// <summary>
- /// Montant de la subvention.
- /// </summary>
- private double mMontantSubvention;
- private string mTypeAction;
- private string mPartenaire;
- /// <summary>
- /// On obtient l'entité qui s'occupe de l'action.
- /// </summary>
- public string TypeAction
- {
- get { return mTypeAction; }
- set { mTypeAction = value; }
- }
- /// <summary>
- /// Obtient ou définit le libellé de l'action éducative.
- /// </summary>
- public string Libelle
- {
- get { return mLibelle; }
- set { mLibelle = value; }
- }
- /// <summary>
- /// Obtient ou définit si oui ou non le collège participe.
- /// </summary>
- public bool Participe
- {
- get { return mParticipe; }
- set { mParticipe = value; }
- }
- /// <summary>
- /// Obtient ou définit le nombre d'élèves ayant participés à cette action.
- /// </summary>
- public int NbrEleves
- {
- get { return mNbrEleves; }
- set { mNbrEleves = value; }
- }
- /// <summary>
- /// Obtient ou définit le montant de la subvention.
- /// </summary>
- public double MontantSubvention
- {
- get { return mMontantSubvention; }
- set { mMontantSubvention = value; }
- }
- /// <summary>
- /// On obtient l'entité qui s'occupe de l'action.
- /// </summary>
- public string Partenaire
- {
- get { return mPartenaire; }
- set { mPartenaire = value; }
- }
- public ActionEducative(string typeAction, string libelle, bool participe, int nbrEleves, double montantSubvention, string partenaire)
- {
- this.mTypeAction = typeAction;
- this.mLibelle = libelle;
- mParticipe = participe;
- this.mNbrEleves = nbrEleves;
- this.mMontantSubvention = montantSubvention;
- this.mPartenaire = partenaire;
- }
- }
- }
|