using System.ComponentModel.DataAnnotations;

namespace HoneyBox.Admin.Business.Models.User;

/// <summary>
/// 用户状态变更请求
/// </summary>
public class UserStatusRequest
{
    /// <summary>
    /// 状态：1-正常 0-禁用
    /// </summary>
    [Required(ErrorMessage = "请选择状态")]
    [Range(0, 1, ErrorMessage = "状态值无效")]
    public int Status { get; set; }
}

/// <summary>
/// 测试账号设置请求
/// </summary>
public class UserTestAccountRequest
{
    /// <summary>
    /// 是否测试账号：0-否 1-是
    /// </summary>
    [Required(ErrorMessage = "请选择是否测试账号")]
    [Range(0, 1, ErrorMessage = "值无效")]
    public int IsTest { get; set; }
}
