2015-07-27 16:34:32 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using BuildFeed.Local;
|
2014-10-11 06:57:02 +08:00
|
|
|
|
|
2018-04-28 16:11:07 +08:00
|
|
|
|
namespace BuildFeed.ViewModel
|
2014-10-11 06:57:02 +08:00
|
|
|
|
{
|
2017-02-24 04:53:49 +08:00
|
|
|
|
public class LoginUser
|
|
|
|
|
{
|
|
|
|
|
[Required]
|
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_UserName))]
|
|
|
|
|
public string UserName { get; set; }
|
2014-10-11 06:57:02 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Required]
|
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_Password))]
|
|
|
|
|
public string Password { get; set; }
|
2014-10-11 06:57:02 +08:00
|
|
|
|
|
2017-02-24 04:53:49 +08:00
|
|
|
|
[Display(ResourceType = typeof(VariantTerms), Name = nameof(VariantTerms.Support_RememberMe))]
|
|
|
|
|
public bool RememberMe { get; set; }
|
|
|
|
|
}
|
2014-10-11 06:57:02 +08:00
|
|
|
|
}
|