SemesterOutput.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 学期输出参数
  5. /// </summary>
  6. public class SemesterOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 学期类型
  15. /// </summary>
  16. [Required]
  17. public SemesterType SemesterType { get; set; }
  18. /// <summary>
  19. /// 名称,2023至2024学年上学期
  20. /// </summary>
  21. [Required]
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 简称,2023~2024上
  25. /// </summary>
  26. [Required]
  27. public string ShortName { get; set; }
  28. /// <summary>
  29. /// 别名,2023年秋季
  30. /// </summary>
  31. [Required]
  32. public string NickName { get; set; }
  33. /// <summary>
  34. /// 别名简称,2023秋
  35. /// </summary>
  36. [Required]
  37. public string NickShortName { get; set; }
  38. /// <summary>
  39. /// 开始年份
  40. /// </summary>
  41. [Required]
  42. public short BeginYear { get; set; }
  43. /// <summary>
  44. /// 结束年份
  45. /// </summary>
  46. [Required]
  47. public short EndYear { get; set; }
  48. /// <summary>
  49. /// 是否当前学年
  50. /// </summary>
  51. [Required]
  52. public bool IsCurrent { get; set; }
  53. /// <summary>
  54. /// 备注
  55. /// </summary>
  56. public string Remark { get; set; }
  57. }