Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Classes/ClassesViewDto.cs

84 lines
1.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
/// <summary>
/// 备 注:名称
/// 默认值:
///</summary>
public string ClassName { get; set; } = null!;
/// <summary>
/// 备 注:年级
/// 默认值:
///</summary>
public string GradeLevel { get; set; } = null!;
/// <summary>
/// 备 注:所属届
/// 默认值:
///</summary>
public int GraduationYear { get; set; }
/// <summary>
/// 学校Id
/// </summary>
public long SchoolId { get; set; }
/// <summary>
/// 学校名称
/// </summary>
public string SchoolName { get; set; }
/// <summary>
/// 教学层级 1普通本科 2重点本科
/// </summary>
public TeachingLevelEnum TeachingLevel { get; set; }
/// <summary>
/// 学习官组长Id
/// </summary>
public long LearningOfficeLeaderId { get; set; }
/// <summary>
/// 学习官组长名称
/// </summary>
public string LearningOfficeLeaderName { get; set; }
/// <summary>
/// 学习官Id
/// </summary>
public long LearningOfficeId { get; set; }
/// <summary>
/// 学习官名称
/// </summary>
public string LearningOfficeName { get; set; }
/// <summary>
/// 当前所属年级
/// </summary>
public string GradeString
{
get
{
return GradeHelper.GetGrade(GradeLevel, GraduationYear);
}
}
}
}