2024-11-23 14:23:47 +00:00
|
|
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using Yavsc.Attributes.Validation;
|
|
|
|
|
|
|
|
|
|
namespace Yavsc.ViewModels.Manage
|
|
|
|
|
{
|
|
|
|
|
public class SetUserNameViewModel
|
|
|
|
|
{
|
|
|
|
|
[Required]
|
2026-05-30 19:34:22 +01:00
|
|
|
[Display(Name = "User name"),RegularExpression(YavscConstants.UserNameRegExp)]
|
2024-11-23 14:23:47 +00:00
|
|
|
public string UserName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|