2017-08-23 13:31:58 -05:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2017-08-29 15:42:24 -05:00
|
|
|
namespace Sample.Models.AccountViewModels
|
2017-08-23 13:31:58 -05:00
|
|
|
{
|
|
|
|
|
public class LoginViewModel
|
|
|
|
|
{
|
|
|
|
|
[Required]
|
|
|
|
|
[EmailAddress]
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
[DataType(DataType.Password)]
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
|
|
|
|
[Display(Name = "Remember me?")]
|
|
|
|
|
public bool RememberMe { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|