|
@@ -72,6 +72,10 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// Type de l'établissement de l'établissement.
|
|
/// Type de l'établissement de l'établissement.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
private string mTypeEtablissement;
|
|
private string mTypeEtablissement;
|
|
|
|
|
+ /// Dispositif.
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ private int mDispositifEtablissement;
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Année de contruction de l'établissement.
|
|
/// Année de contruction de l'établissement.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -298,6 +302,16 @@ namespace CG67.FicheCollege.Domaine
|
|
|
get { return mTypeEtablissement; }
|
|
get { return mTypeEtablissement; }
|
|
|
set { mTypeEtablissement = value; }
|
|
set { mTypeEtablissement = value; }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// Dispositif de l'établissement.
|
|
|
|
|
+ /// 1 - Normal; 2: REP; 3: REP+
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ public int DispositifEtablissement
|
|
|
|
|
+ {
|
|
|
|
|
+ get { return mDispositifEtablissement; }
|
|
|
|
|
+ set { mDispositifEtablissement = value; }
|
|
|
|
|
+ }
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// Obtient ou définit l'année de construction de l'établissement.
|
|
/// Obtient ou définit l'année de construction de l'établissement.
|
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -754,6 +768,21 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// retourne le gestionnaire de l'établissement
|
|
/// retourne le gestionnaire de l'établissement
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
|
|
+ ///
|
|
|
|
|
+
|
|
|
|
|
+ public string PrincipalAdjointEmail
|
|
|
|
|
+ {
|
|
|
|
|
+ get
|
|
|
|
|
+ {
|
|
|
|
|
+ string retour = string.Empty;
|
|
|
|
|
+ foreach (Contact cont in Contacts)
|
|
|
|
|
+ if (cont.Fonction.ToLower() == "principal adjoint")
|
|
|
|
|
+ retour = cont.Email;
|
|
|
|
|
+ return retour;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
public string Gestionnaire
|
|
public string Gestionnaire
|
|
|
{
|
|
{
|
|
|
get
|
|
get
|
|
@@ -1184,7 +1213,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mNom = nom;
|
|
this.mNom = nom;
|
|
|
this.mCommune = commune;
|
|
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,
|
|
|
|
|
|
|
+ public Etablissement(string codeRNE, bool isPrive, int annee, string nom, string commune, string canton, string typeEtablissement, int dispositifEtablissement, 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, int accessibilite,
|
|
bool isRestaurant,bool isInternat, bool ascenseur, int effectifTheorique, int accessibilite,
|
|
|
dlgLoadActionEducative loaderActionEducative,
|
|
dlgLoadActionEducative loaderActionEducative,
|
|
|
dlgLoadClasseDecouverte loaderClasseDecouverte,
|
|
dlgLoadClasseDecouverte loaderClasseDecouverte,
|
|
@@ -1212,6 +1241,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mCommune = commune;
|
|
this.mCommune = commune;
|
|
|
this.mCanton = canton;
|
|
this.mCanton = canton;
|
|
|
this.mTypeEtablissement = typeEtablissement;
|
|
this.mTypeEtablissement = typeEtablissement;
|
|
|
|
|
+ this.mDispositifEtablissement = dispositifEtablissement;
|
|
|
this.mAnneConstruction = anneeConstruction;
|
|
this.mAnneConstruction = anneeConstruction;
|
|
|
this.mTelephone = telephone;
|
|
this.mTelephone = telephone;
|
|
|
this.mEmail = email;
|
|
this.mEmail = email;
|