using System;
using System.ComponentModel.DataAnnotations;
namespace Dto
{
public class LoginDto
{
///
/// 用户名
///
[Required(ErrorMessage = "用户名不能为空")]
public string AdminName { get; set; }
///
/// 登录密码
///
[Required(ErrorMessage = "登录密码不能为空")]
public string Password { get; set; }
}
}