using System.ComponentModel.DataAnnotations;

namespace FutureMailAPI.DTOs
{
    public class UserLoginDto
    {
        [Required(ErrorMessage = "用户名或邮箱是必填项")]
        public string UsernameOrEmail { get; set; } = string.Empty;
        
        [Required(ErrorMessage = "密码是必填项")]
        public string Password { get; set; } = string.Empty;
    }
}