SchoolClassOutput.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 学校班级简要输出参数
  5. /// </summary>
  6. public class SchoolClassLiteOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public long Id { get; set; }
  13. /// <summary>
  14. /// 学校ID
  15. /// </summary>
  16. [Required]
  17. public short SysOrgId { get; set; }
  18. /// <summary>
  19. /// 校区ID
  20. /// </summary>
  21. public short? SysOrgBranchId { get; set; }
  22. /// <summary>
  23. /// 入学年份(级)
  24. /// </summary>
  25. [Required]
  26. public short GradeBeginYear { get; set; }
  27. /// <summary>
  28. /// 毕业年份(级)
  29. /// </summary>
  30. [Required]
  31. public short GradeEndYear { get; set; }
  32. /// <summary>
  33. /// 学制
  34. /// </summary>
  35. [Required]
  36. public short EducationYears { get; set; }
  37. /// <summary>
  38. /// 学段
  39. /// </summary>
  40. [Required]
  41. public EducationStage EducationStage { get; set; }
  42. /// <summary>
  43. /// 班号
  44. /// </summary>
  45. [Required]
  46. public short ClassNumber { get; set; }
  47. /// <summary>
  48. /// 名称:入学年份+级+班号+班,如2025级1班
  49. /// </summary>
  50. [Required]
  51. public string Name { get; set; }
  52. /// <summary>
  53. /// 全称:学段名+入学年份+级+班号+班,如小学2025级1班
  54. /// </summary>
  55. [Required]
  56. public string FullName { get; set; }
  57. /// <summary>
  58. /// 简称:班号+班,如1班
  59. /// </summary>
  60. [Required]
  61. public string ShortName { get; set; }
  62. /// <summary>
  63. /// 校区
  64. /// </summary>
  65. public SysOrgLiteOutput SysOrgBranch { get; set; }
  66. }
  67. /// <summary>
  68. /// 学校班级输出参数
  69. /// </summary>
  70. public class SchoolClassOutput : DEntityOutput<long>
  71. {
  72. /// <summary>
  73. /// 学校ID
  74. /// </summary>
  75. [Required]
  76. public short SysOrgId { get; set; }
  77. /// <summary>
  78. /// 校区ID
  79. /// </summary>
  80. public short? SysOrgBranchId { get; set; }
  81. /// <summary>
  82. /// 入学年份(级)
  83. /// </summary>
  84. [Required]
  85. public short GradeBeginYear { get; set; }
  86. /// <summary>
  87. /// 毕业年份(级)
  88. /// </summary>
  89. [Required]
  90. public short GradeEndYear { get; set; }
  91. /// <summary>
  92. /// 学制
  93. /// </summary>
  94. [Required]
  95. public short EducationYears { get; set; }
  96. /// <summary>
  97. /// 学段
  98. /// </summary>
  99. [Required]
  100. public EducationStage EducationStage { get; set; }
  101. /// <summary>
  102. /// 班号
  103. /// </summary>
  104. [Required]
  105. public short ClassNumber { get; set; }
  106. /// <summary>
  107. /// 名称:入学年份+级+班号+班,如2025级1班
  108. /// </summary>
  109. [Required]
  110. public string Name { get; set; }
  111. /// <summary>
  112. /// 全称:学段名+入学年份+级+班号+班,如小学2025级1班
  113. /// </summary>
  114. [Required]
  115. public string FullName { get; set; }
  116. /// <summary>
  117. /// 简称:班号+班,如1班
  118. /// </summary>
  119. [Required]
  120. public string ShortName { get; set; }
  121. /// <summary>
  122. /// 备注
  123. /// </summary>
  124. public string Remark { get; set; }
  125. /// <summary>
  126. /// 学校信息
  127. /// </summary>
  128. public SysOrgLiteOutput SysOrg { get; set; }
  129. /// <summary>
  130. /// 校区信息
  131. /// </summary>
  132. public SysOrgLiteOutput SysOrgBranch { get; set; }
  133. }