Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Models / Identity / User / UsernameWebModel.cs
blob: c533bba85052faa41ace5909bda44e105dc1f400 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using DevHive.Web.Attributes;

namespace DevHive.Web.Models.Identity.User
{
	public class UsernameWebModel
	{
		[NotNull]
		[Required]
		[MinLength(3)]
		[MaxLength(50)]
		public string UserName { get; set; }
	}
}