namespace QYZH.InteractiveMagazine.Models.Dto.UserAnswerTaskService;

/// <summary>
/// 目录列表输出（按一级目录分组）
/// </summary>
public class CatalogListOutput
{
    /// <summary>
    /// 一级目录ID
    /// </summary>
    public long CatalogId { get; set; }

    /// <summary>
    /// 一级目录名称
    /// </summary>
    public string CatalogName { get; set; }

    /// <summary>
    /// 杂志名称
    /// </summary>
    public string JournalName { get; set; }

    /// <summary>
    /// 文章篇数
    /// </summary>
    public int ArticleCount { get; set; }

    /// <summary>
    /// 二级栏目列表
    /// </summary>
    public List<SecondCatalogOutput> Children { get; set; } = [];
}