using System.ComponentModel.DataAnnotations;

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

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