using System.ComponentModel.DataAnnotations;

namespace YGNT.QuestionLibrary.Grades.Dto
{
    public class CreateGradeDto
    {
        /// <summary>
        /// 年级名称
        /// </summary>
        [Required]
        [MaxLength(30)]
        public string Name { get; set; }

        /// <summary>
        /// 教育类别Id
        /// </summary>
        [Required]
        public int EducationCategoryId { get; set; }
    }
}