BuildFeed/BuildFeed.ViewModel/LoginUser.cs

19 lines
624 B
C#

using System.ComponentModel.DataAnnotations;
using BuildFeed.Local;
namespace BuildFeed.ViewModel
{
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; }
}
}