25 lines
818 B
C#
25 lines
818 B
C#
// <copyright file="StyleEditViewModel.cs" company="Equipe 1 - BOBIN, MASI, NODON, VETU">
|
|
// Copyright (c) Equipe 1 - BOBIN, MASI, NODON, VETU. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Webzine.WebApplication.Areas.Administration.ViewModels.Styles
|
|
{
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
/// <summary>
|
|
/// ViewModel pour la modification d'un style en administration.
|
|
/// </summary>
|
|
public class StyleEditViewModel
|
|
{
|
|
/// <summary>
|
|
/// Obtient ou definit l'identifiant du style.
|
|
/// </summary>
|
|
public int IdStyle { get; set; }
|
|
|
|
/// <summary>
|
|
/// Obtient ou definit le libelle du style.
|
|
/// </summary>
|
|
[Required(ErrorMessage = "Le libelle du style est obligatoire.")]
|
|
public string Libelle { get; set; }
|
|
}
|
|
} |