mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
19 lines
624 B
C#
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; }
|
|
}
|
|
} |