using System.ComponentModel.DataAnnotations;

namespace YGNT.QuestionLibrary.Disciplines.Dto
{
    public class CreateDisciplineDto
    {
        /// <summary>
        /// 学科名称
        /// </summary>
        [Required]
        [MaxLength(30)]
        public string Name { get; set; }

        /// <summary>
        /// 年级Id
        /// </summary>
        [Required]
        public int GradeId { get; set; }
    }
}