olivier.massot 7 лет назад
Родитель
Сommit
3ea4119423

+ 2 - 0
CD67.FicheCollege.Entity/CD67.FicheCollege.Entity.csproj

@@ -159,10 +159,12 @@
     <Compile Include="Extend\ActionEduCollege.cs" />
     <Compile Include="Extend\Annee.cs" />
     <Compile Include="Extend\College.cs" />
+    <Compile Include="Extend\ActionEduStatut.cs" />
     <Compile Include="Extend\Territoire.cs" />
     <Compile Include="Extend\ActionEduAxe.cs" />
     <Compile Include="Extend\ActionEduThematique.cs" />
     <Compile Include="Extend\ActionEdu.cs" />
+    <Compile Include="Extend\ActionEduActeur.cs" />
     <Compile Include="Extend\TypeCollege.cs" />
     <Compile Include="filiere.cs">
       <DependentUpon>EducfModel.tt</DependentUpon>

+ 37 - 0
CD67.FicheCollege.Entity/Extend/ActionEduActeur.cs

@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CD67.FicheCollege.Entity
+{
+    /// <summary>
+    /// Classe d'extension de celle d'Entity, nécessaire pour y associer les Metadata
+    /// </summary>
+    [MetadataType(typeof(ActionEduActeur_Metadata))]
+    public partial class ActionEduActeur
+    {
+    }
+
+    /// <summary>
+    /// Classe contenant les DataAnnotations pour chaque champ
+    /// </summary>
+    public class ActionEduActeur_Metadata
+    {
+        [Required(ErrorMessage = "Obligatoire")]
+        [Display(Name = "Nom")]
+        public string Nom { get; set; }
+
+        [Display(Name = "SSID")]
+        public string Sid { get; set; }
+
+        [Required(ErrorMessage = "Obligatoire")]
+        public int RoleId { get; set; }
+
+        [Display(Name = "Action Educative")]
+        public string ActionEduId { get; set; }
+
+    }
+}

+ 29 - 0
CD67.FicheCollege.Entity/Extend/ActionEduStatut.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CD67.FicheCollege.Entity
+{
+    /// <summary>
+    /// Classe d'extension de celle d'Entity, nécessaire pour y associer les Metadata
+    /// </summary>
+    [MetadataType(typeof(ActionEduStatut_Metadata))]
+    public partial class ActionEduStatut
+    {
+    }
+
+    /// <summary>
+    /// Classe contenant les DataAnnotations pour chaque champ
+    /// </summary>
+    public class ActionEduStatut_Metadata
+    {
+        [Required(ErrorMessage = "Obligatoire")]
+        public int Id { get; set; }
+        [Required(ErrorMessage = "Obligatoire")]
+        [Display(Name = "Statut")]
+        public string Nom { get; set; }
+    }
+}