using System.ComponentModel.DataAnnotations;
using YGNT.Infrastructure.Model;

namespace YGNT.QuestionLibrary.Chapters.Dto
{
    public class SearchChapterInputDto : SearchBaseInputDto
    {
        /// <summary>
        /// 父章节Id(不传为顶级)
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 教材id
        /// </summary>
        [Required]
        public int TextbookId { get; set; }

    }
}