#3 Création de l'entité style correspondant aux tests unitaires StyleTests

This commit is contained in:
josephine.vetu
2026-03-04 11:00:47 +01:00
parent c22f737867
commit 509df1f2ff

22
Webzine.Entity/Style.cs Normal file
View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Webzine.Entity
{
/// <summary>
/// Classe représentant un style de musique.
/// </summary>
public class Style
{
public int IdStyle { get; set; }
[Required]
[MinLength(2)]
[MaxLength(50)]
[Display(Name = "Libellé")]
public string Libelle { get; set; }
}
}