using System.ComponentModel.DataAnnotations;

namespace HoneyBox.Admin.Models.AdminUser;

/// <summary>
/// 重置密码请求
/// </summary>
public class ResetPasswordRequest
{
    /// <summary>
    /// 新密码
    /// </summary>
    [Required(ErrorMessage = "新密码不能为空")]
    [MinLength(6, ErrorMessage = "密码至少6个字符")]
    [MaxLength(50, ErrorMessage = "密码最多50个字符")]
    public string NewPassword { get; set; } = null!;
}
