using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 学校班级简要输出参数
///
public class SchoolClassLiteOutput
{
///
/// 主键
///
[Required]
public long Id { get; set; }
///
/// 学校ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 入学年份(级)
///
[Required]
public short GradeBeginYear { get; set; }
///
/// 毕业年份(级)
///
[Required]
public short GradeEndYear { get; set; }
///
/// 学制
///
[Required]
public short EducationYears { get; set; }
///
/// 学段
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 名称:入学年份+级+班号+班,如2025级1班
///
[Required]
public string Name { get; set; }
///
/// 全称:学段名+入学年份+级+班号+班,如小学2025级1班
///
[Required]
public string FullName { get; set; }
///
/// 简称:班号+班,如1班
///
[Required]
public string ShortName { get; set; }
///
/// 校区
///
public SysOrgLiteOutput SysOrgBranch { get; set; }
}
///
/// 学校班级输出参数
///
public class SchoolClassOutput : DEntityOutput
{
///
/// 学校ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 入学年份(级)
///
[Required]
public short GradeBeginYear { get; set; }
///
/// 毕业年份(级)
///
[Required]
public short GradeEndYear { get; set; }
///
/// 学制
///
[Required]
public short EducationYears { get; set; }
///
/// 学段
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 名称:入学年份+级+班号+班,如2025级1班
///
[Required]
public string Name { get; set; }
///
/// 全称:学段名+入学年份+级+班号+班,如小学2025级1班
///
[Required]
public string FullName { get; set; }
///
/// 简称:班号+班,如1班
///
[Required]
public string ShortName { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 学校信息
///
public SysOrgLiteOutput SysOrg { get; set; }
///
/// 校区信息
///
public SysOrgLiteOutput SysOrgBranch { get; set; }
}