diff --git a/Webzine.Entity/Style.cs b/Webzine.Entity/Style.cs new file mode 100644 index 0000000..11c6f32 --- /dev/null +++ b/Webzine.Entity/Style.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Text; + +namespace Webzine.Entity +{ + /// + /// Classe représentant un style de musique. + /// + public class Style + { + public int IdStyle { get; set; } + + [Required] + [MinLength(2)] + [MaxLength(50)] + [Display(Name = "Libellé")] + public string Libelle { get; set; } + + } +}