ActionCLAS.cs 739 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace CD67.FicheCollege.Entity
  8. {
  9. /// <summary>
  10. /// Classe d'extension de celle d'Entity, nécessaire pour y associer les Metadata
  11. /// </summary>
  12. [MetadataType(typeof(ActionCLAS_Metadata))]
  13. public partial class ActionCLAS
  14. {
  15. }
  16. /// <summary>
  17. /// Classe contenant les DataAnnotations pour chaque champ
  18. /// </summary>
  19. public class ActionCLAS_Metadata
  20. {
  21. //[UIHint("YesNoBool")]
  22. public bool? Action { get; set; }
  23. [DataType(DataType.MultilineText)]
  24. public string Commentaire { get; set; }
  25. }
  26. }