using LearningOfficer.OA.Common.Enums; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UserCenter.Model.Common; namespace LearningOfficer.OA.Common.Dtos.Classes { public class ClassesViewDto { public long Id { get; set; } /// /// 备 注:名称 /// 默认值: /// public string ClassName { get; set; } = null!; /// /// 备 注:年级 /// 默认值: /// public string GradeLevel { get; set; } = null!; /// /// 备 注:所属届 /// 默认值: /// public int GraduationYear { get; set; } /// /// 学校Id /// public long SchoolId { get; set; } /// /// 学校名称 /// public string SchoolName { get; set; } /// /// 教学层级 1:普通本科 2:重点本科 /// public TeachingLevelEnum TeachingLevel { get; set; } /// /// 学习官组长Id /// public long LearningOfficeLeaderId { get; set; } /// /// 学习官组长名称 /// public string LearningOfficeLeaderName { get; set; } /// /// 学习官Id /// public long LearningOfficeId { get; set; } /// /// 学习官名称 /// public string LearningOfficeName { get; set; } /// /// 当前所属年级 /// public string GradeString { get { return GradeHelper.GetGrade(GradeLevel, GraduationYear); } } } }