ScientificReport
LoginModel.cs
Go to the documentation of this file.
1 using System.ComponentModel.DataAnnotations;
2 using System.Diagnostics.CodeAnalysis;
3 
4 namespace ScientificReport.DTO.Models.UserProfile
5 {
6  [SuppressMessage("ReSharper", "Mvc.TemplateNotResolved")]
7  public class LoginModel
8  {
9  [Required]
10  public string UserName { get; set; }
11 
12  [Required]
13  [UIHint("password")]
14  public string Password { get; set; }
15 
16  public bool RememberMe { get; set; }
17 
18  public string ReturnUrl { get; set; } = "/";
19  }
20 }