using System.ComponentModel;

namespace QYZH.InteractiveMagazine.Models.Dto.SystemManagement;

/// <summary>
/// 枚举信息输出
/// </summary>
public class EnumInfoOutput
{
    /// <summary>
    /// 枚举名称
    /// </summary>
    public string EnumName { get; set; } = string.Empty;

    /// <summary>
    /// 枚举项列表
    /// </summary>
    public List<EnumItemDto> Items { get; set; } = new();
}

/// <summary>
/// 枚举项
/// </summary>
public class EnumItemDto
{
    /// <summary>
    /// 枚举项名称
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 枚举项值
    /// </summary>
    public int Value { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }
}
