Login registration
This commit is contained in:
parent
716bfb2e05
commit
277dff7d61
22 changed files with 171 additions and 176 deletions
14
src/Yavsc/ViewModels/Manage/SetUserNameViewModel.cs
Normal file
14
src/Yavsc/ViewModels/Manage/SetUserNameViewModel.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.ViewModels.Manage
|
||||
{
|
||||
public class SetUserNameViewModel
|
||||
{
|
||||
[Required]
|
||||
[Display(Name = "User name"),RegularExpression(Constants.UserNameRegExp)]
|
||||
public string UserName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue