Celine.meneu 11 jaren geleden
bovenliggende
commit
3fa3fa6c14

+ 11 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Domaine/Etablissement.cs

@@ -234,6 +234,8 @@ namespace CG67.FicheCollege.Domaine
 
         private bool mAscenseur;
 
+        private int mAccessibilite;
+
         private bool mIsPrive;
 
         private int mEffectifTheorique;
@@ -651,6 +653,13 @@ namespace CG67.FicheCollege.Domaine
             get { return mCodePostal; }
             set { mCodePostal = value; }
         }
+
+        public int Accessibilite
+        {
+            get { return mAccessibilite; }
+            set { mAccessibilite = value; }
+        }
+
         /// <summary>
         /// sera utilisé pour l'affichage sur la première page.
         /// </summary>
@@ -1153,7 +1162,7 @@ namespace CG67.FicheCollege.Domaine
             this.mCommune = commune;
         }
         public Etablissement(string codeRNE, bool isPrive, int annee, string nom, string commune, string canton, string typeEtablissement, int anneeConstruction, string telephone, string email, string fax, string nomProprietaire, string adresse, string complementAdresse, int codePostal, string ville, string lienPhoto,string lienFichier, 
-                                bool isRestaurant,bool isInternat, bool ascenseur, int effectifTheorique,
+                                bool isRestaurant,bool isInternat, bool ascenseur, int effectifTheorique, int accessibilite,
                                 dlgLoadActionEducative loaderActionEducative,
                                 dlgLoadClasseDecouverte loaderClasseDecouverte,
                                 dlgLoadATC loaderATC,
@@ -1194,6 +1203,7 @@ namespace CG67.FicheCollege.Domaine
             this.mIsInternat = isInternat;
             this.mAscenseur = ascenseur;
             this.mEffectifTheorique = effectifTheorique;
+            this.mAccessibilite = accessibilite;
             this.LoaderActionEducative = loaderActionEducative;
             this.LoaderClasseDecouverte = loaderClasseDecouverte;
             this.LoaderATC = loaderATC;