using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 年级输出参数 /// public class GradeOutput { /// /// 主键 /// [Required] public short Id { get; set; } /// /// 学段 /// [Required] public EducationStage EducationStage { get; set; } /// /// 年级号 /// [Required] public short GradeNumber { get; set; } /// /// 年级号2 /// [Required] public short GradeNumber2 { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 全称 /// [Required] public string FullName { get; set; } /// /// 简称 /// [Required] public string ShortName { get; set; } /// /// 备注 /// public string Remark { get; set; } = ""; /// /// 状态 /// [Required] public CommonStatus Status { get; set; } } /// /// 年级学制输出参数 /// public class GradeYearOutput { /// /// 主键 /// [Required] public short Id { get; set; } /// /// 学段 /// [Required] public EducationStage EducationStage { get; set; } /// /// 年级号 /// [Required] public short GradeNumber { get; set; } /// /// 年级号2 /// [Required] public short GradeNumber2 { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 全称 /// [Required] public string FullName { get; set; } /// /// 年份(级) /// [Required] public short GradeBeginYear { get; set; } /// /// 年份(届) /// [Required] public short GradeEndYear { get; set; } /// /// 级名 /// [Required] public string GradeBeginName { get { return $"{GradeBeginYear}级"; } } /// /// 届名 /// [Required] public string GradeEndName { get { return $"{GradeEndYear}届"; } } /// /// 级全名 /// [Required] public string GradeBeginFullName { get { return $"{FullName}({GradeBeginName})"; } } /// /// 届全名 /// [Required] public string GradeEndFullName { get { return $"{FullName}({GradeEndName})"; } } /// /// 学制(共几年) /// [Required] public short EducationYears { get; set; } }