namespace Admin.NET.Core.Service; /// /// 用户登录参数 /// public class LoginInput { /// /// 账号 /// /// admin [Required(ErrorMessage = "账号不能为空"), MinLength(2, ErrorMessage = "账号不能少于2个字符")] public string Account { get; set; } /// /// 密码 /// /// 123456 [Required(ErrorMessage = "密码不能为空"), MinLength(3, ErrorMessage = "密码不能少于3个字符")] public string Password { get; set; } /// /// 验证码Id /// public long CodeId { get; set; } /// /// 验证码 /// public string Code { get; set; } }