using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; namespace EMISOnline.ViewModel.Account { public class LogOnModel { [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; } [Display(Name = "验证码")] public string VerifyCode { get; set; } } }