|
|
@@ -178,6 +178,8 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// ville de l'établissement.
|
|
|
/// </summary>
|
|
|
private string mVille;
|
|
|
+
|
|
|
+ private string mCommune;
|
|
|
/// <summary>
|
|
|
/// Contient les commentaires utiles à différents moments de la fiche.
|
|
|
/// </summary>
|
|
|
@@ -243,13 +245,20 @@ namespace CG67.FicheCollege.Domaine
|
|
|
get { return mIsPrive; }
|
|
|
set { mIsPrive = value; }
|
|
|
}
|
|
|
+
|
|
|
+ public string Commune
|
|
|
+ {
|
|
|
+ get { return mCommune; }
|
|
|
+ set { mCommune = 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)
|
|
|
get
|
|
|
{
|
|
|
if (mNom == string.Empty)
|
|
|
- return "de " + mVille;
|
|
|
+ return "de " + mCommune;
|
|
|
return mNom;
|
|
|
}
|
|
|
set { mNom = value; }
|
|
|
@@ -548,6 +557,10 @@ namespace CG67.FicheCollege.Domaine
|
|
|
get { return mVille; }
|
|
|
set { mVille = value; }
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
public Commentaires CommentaireGeneraux
|
|
|
{
|
|
|
get
|
|
|
@@ -608,7 +621,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// </summary>
|
|
|
public string NomCollegePourPresentation
|
|
|
{
|
|
|
- get { return mVille + " - Collège " + Nom; }
|
|
|
+ get { return Commune + " - Collège " + Nom; }
|
|
|
}
|
|
|
public string LienPhoto
|
|
|
{
|
|
|
@@ -1092,13 +1105,13 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// <param name="codeRNE"></param>
|
|
|
/// <param name="nom"></param>
|
|
|
/// <param name="ville"></param>
|
|
|
- public Etablissement(string codeRNE, string nom, string ville)
|
|
|
+ public Etablissement(string codeRNE, string nom, string commune)
|
|
|
{
|
|
|
this.mCodeRNE = codeRNE;
|
|
|
this.mNom = nom;
|
|
|
- this.mVille = ville;
|
|
|
+ this.mCommune = commune;
|
|
|
}
|
|
|
- public Etablissement(string codeRNE, bool isPrive, int annee, string nom, 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 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,
|
|
|
@@ -1121,6 +1134,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mIsPrive = isPrive;
|
|
|
this.mAnnee = annee;
|
|
|
this.mNom = nom;
|
|
|
+ this.mCommune = commune;
|
|
|
this.mTypeEtablissement = typeEtablissement;
|
|
|
this.mAnneConstruction = anneeConstruction;
|
|
|
this.mTelephone = telephone;
|