yavsc/src/Yavsc.Org/ViewModels/Manage/SetUserNameViewModel.cs

14 lines
317 B
C#
Raw Normal View History

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-08-20 20:50:52 +01:00
[Display(Name = "User name"),RegularExpression(Constants.UserNameRegExp)]
2024-11-23 14:23:47 +00:00
public string UserName { get; set; }
}
}