using LearningOfficer.OA.Common.Enums; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; using UserCenter.Model.Common; namespace LearningOfficer.OA.Common.Dtos.Classes { public class ClassAddDto { /// /// 备 注:名称 /// 默认值: /// public string ClassName { get; set; } = null!; /// /// 备 注:学校id /// 默认值: /// public long SchoolId { get; set; } ///// ///// 备 注:年级 ///// 默认值: ///// //public string Grade { get; set; } = null!; /// /// 备 注:届 /// 默认值: /// public int GraduationYear { get; set; } /// /// 备 注:学段: 初、高 /// 默认值: /// public string GradeLevel { get; set; } = null!; /// /// 备 注:教学层级 1:普通本科 2:重点本科 /// 默认值: /// public TeachingLevelEnum TeachingLevel { get; set; } ///// ///// 获取年级信息 ///// //[JsonIgnore] //public GradeModel GradeInfo //{ // get // { // return GradeHelper.GetStudentGradeBaseByGrade(Grade); // } //} } public class ClassesUpdateDto { /// /// 备 注:班级Id /// 默认值: /// public long Id { get; set; } /// /// 备 注:名称 /// 默认值: /// public string ClassName { get; set; } = null!; /// /// 备 注:届 /// 默认值: /// public int GraduationYear { get; set; } /// /// 备 注:学段: 初、高 /// 默认值: /// public string GradeLevel { get; set; } = null!; ///// ///// 备 注:年级 ///// 默认值: ///// //public string Grade { get; set; } = null!; ///// ///// 获取年级信息 ///// //[JsonIgnore] //public GradeModel GradeInfo //{ // get // { // return GradeHelper.GetStudentGradeBaseByGrade(Grade); // } //} public TeachingLevelEnum TeachingLevel { get; set; } } }