CourseCombOutput.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. using YBEE.EQM.Core;
  3. namespace YBEE.EQM.Application;
  4. /// <summary>
  5. /// 高中选科组合
  6. /// </summary>
  7. public class CourseCombOutput
  8. {
  9. /// <summary>
  10. /// 主键
  11. /// </summary>
  12. [Required]
  13. public short Id { get; set; }
  14. /// <summary>
  15. /// 首选科目ID
  16. /// </summary>
  17. [Required]
  18. public short FirstCourseId { get; set; }
  19. /// <summary>
  20. /// 再选科目1ID
  21. /// </summary>
  22. [Required]
  23. public short SecondCourseId { get; set; }
  24. /// <summary>
  25. /// 再选科目2ID
  26. /// </summary>
  27. [Required]
  28. public short ThirdCourseId { get; set; }
  29. /// <summary>
  30. /// 名称
  31. /// </summary>
  32. [Required]
  33. public string Name { get; set; }
  34. /// <summary>
  35. /// 简称
  36. /// </summary>
  37. [Required]
  38. public string ShortName { get; set; }
  39. /// <summary>
  40. /// 一对一引用(首选科目)
  41. /// </summary>
  42. public CourseLiteOutput FirstCourse { get; set; }
  43. /// <summary>
  44. /// 一对一引用(再选科目1)
  45. /// </summary>
  46. public CourseLiteOutput SecondCourse { get; set; }
  47. /// <summary>
  48. /// 一对一引用(再选科目2)
  49. /// </summary>
  50. public CourseLiteOutput ThirdCourse { get; set; }
  51. }