24 lines
526 B
C#
24 lines
526 B
C#
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; }
|
|
|
|
public List<Titre> Titres { get; set; } = new List<Titre>();
|
|
}
|
|
}
|