|
|
@@ -87,6 +87,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// <summary>
|
|
|
/// Nom du propriétaire de l'établissement.
|
|
|
/// </summary>
|
|
|
+
|
|
|
private string mNomProprietaire;
|
|
|
/// <summary>
|
|
|
/// Valeur théorique ETP (Equivalent Temps Plein) de l'établissement.
|
|
|
@@ -178,6 +179,10 @@ namespace CG67.FicheCollege.Domaine
|
|
|
private string mVille;
|
|
|
|
|
|
private string mCommune;
|
|
|
+ private string mCanton;
|
|
|
+ /// <summary>
|
|
|
+ /// Nom du Canton
|
|
|
+ /// </summary>
|
|
|
/// <summary>
|
|
|
/// Contient les commentaires utiles à différents moments de la fiche.
|
|
|
/// </summary>
|
|
|
@@ -250,6 +255,12 @@ namespace CG67.FicheCollege.Domaine
|
|
|
set { mCommune = value; }
|
|
|
}
|
|
|
|
|
|
+ public string Canton
|
|
|
+ {
|
|
|
+ get { return mCanton; }
|
|
|
+ set { mCanton = value; }
|
|
|
+ }
|
|
|
+
|
|
|
public string Nom
|
|
|
{
|
|
|
//si le collège n'a pas de nom, on retourne la ville du collège (ex : collège de truchtersheim)
|
|
|
@@ -1111,7 +1122,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mNom = nom;
|
|
|
this.mCommune = commune;
|
|
|
}
|
|
|
- public Etablissement(string codeRNE, bool isPrive, int annee, string nom, string commune, string typeEtablissement, int anneeConstruction, string telephone, string email, string fax, string nomProprietaire, string adresse, string complementAdresse, int codePostal, string ville, string lienPhoto,
|
|
|
+ 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,
|
|
|
bool isRestaurant,bool isInternat, bool ascenseur, int effectifTheorique,
|
|
|
dlgLoadActionEducative loaderActionEducative,
|
|
|
dlgLoadClasseDecouverte loaderClasseDecouverte,
|
|
|
@@ -1135,6 +1146,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mAnnee = annee;
|
|
|
this.mNom = nom;
|
|
|
this.mCommune = commune;
|
|
|
+ this.mCanton = canton;
|
|
|
this.mTypeEtablissement = typeEtablissement;
|
|
|
this.mAnneConstruction = anneeConstruction;
|
|
|
this.mTelephone = telephone;
|