using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Model.ModelVm { public class LoginVm { /// /// 登录名 /// [Required] [StringLength(50, MinimumLength = 3)] public string LoginName { get; set; } /// /// 登录密码 /// [Required] public string LoginPwd { get; set; } } }