BuildFeed/BuildFeed.Model/View/LoginUser.cs
2016-08-19 22:10:55 +01:00

19 lines
606 B
C#

using System.ComponentModel.DataAnnotations;
using BuildFeed.Local;
namespace BuildFeed.Model.View
{
public class LoginUser
{
[Required]
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_UserName))]
public string UserName { get; set; }
[Required]
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_Password))]
public string Password { get; set; }
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_RememberMe))]
public bool RememberMe { get; set; }
}
}