mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
调整了一下项目框架与前端JS代码
This commit is contained in:
20
OpenAuth.Mvc/Models/AccountViewModels.cs
Normal file
20
OpenAuth.Mvc/Models/AccountViewModels.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace OpenAuth.Mvc.Models
|
||||
{
|
||||
public class LoginViewModel
|
||||
{
|
||||
[Required]
|
||||
[Display(Name = "用户名")]
|
||||
public string UserName { get; set; }
|
||||
|
||||
[Required]
|
||||
[DataType(DataType.Password)]
|
||||
[Display(Name = "密码")]
|
||||
public string Password { get; set; }
|
||||
|
||||
[Display(Name = "记住我?")]
|
||||
public bool RememberMe { get; set; }
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user