NceeStudent.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using Furion.DatabaseAccessor;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace YBEE.EQM.Core;
  6. /// <summary>
  7. /// 高中分析学生信息
  8. /// </summary>
  9. public class NceeStudent : IEntity
  10. {
  11. /// <summary>
  12. /// 主键
  13. /// </summary>
  14. [Comment("主键")]
  15. [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
  16. public long Id { get; set; }
  17. /// <summary>
  18. /// 高中分析计划ID
  19. /// </summary>
  20. [Comment("高中分析计划ID")]
  21. [Required]
  22. public int NceePlanId { get; set; }
  23. /// <summary>
  24. /// 机构ID
  25. /// </summary>
  26. [Comment("机构ID")]
  27. [Required]
  28. public short SysOrgId { get; set; }
  29. /// <summary>
  30. /// 年级ID
  31. /// </summary>
  32. [Comment("年级ID")]
  33. [Required]
  34. public short GradeId { get; set; }
  35. /// <summary>
  36. /// 班号
  37. /// </summary>
  38. [Comment("班号")]
  39. [Required]
  40. public short ClassNumber { get; set; }
  41. /// <summary>
  42. /// 姓名
  43. /// </summary>
  44. [Comment("姓名")]
  45. public string Name { get; set; }
  46. /// <summary>
  47. /// 考号
  48. /// </summary>
  49. [Comment("考号")]
  50. [Required]
  51. public string ExamNumber { get; set; }
  52. /// <summary>
  53. /// 首选科目ID
  54. /// </summary>
  55. [Comment("首选科目ID")]
  56. public short? DirectionCourseId { get; set; }
  57. /// <summary>
  58. /// 选科组合ID
  59. /// </summary>
  60. [Comment("选科组合ID")]
  61. public short? NceeCourseCombId { get; set; }
  62. /// <summary>
  63. /// 原始总分
  64. /// </summary>
  65. [Comment("原始总分")]
  66. [Required, Column(TypeName = "decimal(10, 2)")]
  67. public decimal Score { get; set; } = 0;
  68. /// <summary>
  69. /// 赋分总分
  70. /// </summary>
  71. [Comment("赋分总分")]
  72. [Required, Column(TypeName = "decimal(10, 2)")]
  73. public decimal ScoreX { get; set; } = 0;
  74. /// <summary>
  75. /// 整体原始分排名
  76. /// </summary>
  77. [Comment("整体原始分排名")]
  78. public int OrderInTotal { get; set; } = 0;
  79. /// <summary>
  80. /// 整体转换分排名
  81. /// </summary>
  82. [Comment("整体转换分排名")]
  83. public int OrderInTotalX { get; set; } = 0;
  84. /// <summary>
  85. /// 机构原始分排名
  86. /// </summary>
  87. [Comment("机构原始分排名")]
  88. public int OrderInOrg { get; set; } = 0;
  89. /// <summary>
  90. /// 机构转换分排名
  91. /// </summary>
  92. [Comment("机构转换分排名")]
  93. public int OrderInOrgX { get; set; } = 0;
  94. /// <summary>
  95. /// 一对一引用(机构)
  96. /// </summary>
  97. public virtual SysOrg SysOrg { get; set; }
  98. }