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