21 lines
568 B
C#
21 lines
568 B
C#
10 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
||
10 years ago
|
namespace Yavsc.Model.RolesAndMembers
|
||
10 years ago
|
{
|
||
10 years ago
|
/// <summary>
|
||
|
/// New admin model.
|
||
|
/// </summary>
|
||
10 years ago
|
public class NewAdminModel
|
||
|
{
|
||
10 years ago
|
/// <summary>
|
||
|
/// Gets or sets the name of the user about to become Admin.
|
||
|
/// </summary>
|
||
|
/// <value>The name of the user.</value>
|
||
|
[Required(ErrorMessage = "S'il vous plait, entrez un nom d'utilisateur"),
|
||
|
Display(Name = "Nom du nouvel administrateur", Description="Nom de l'utilisateur à enregistrer comme administrateur")]
|
||
10 years ago
|
public string UserName { get; set ; }
|
||
|
}
|
||
|
}
|
||
|
|