aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Models/Identity/User/LoginWebModel.cs
blob: ccd806f7e2d5eb3982821817e296b5d39b3ef318 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using DevHive.Web.Attributes;

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

		[NotNull]
		[Required]
		[GoodPassword]
		public string Password { get; set; }
	}
}