ExamScoreImportDto.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 批量导入各科总成绩类型
  5. /// </summary>
  6. public class ExamScoreImportDto
  7. {
  8. /// <summary>
  9. /// 行号
  10. /// </summary>
  11. public int RowNumber { get; set; }
  12. /// <summary>
  13. /// 监测抽样类型
  14. /// </summary>
  15. public ExamSampleType SampleType { get; set; }
  16. /// <summary>
  17. /// 学校ID
  18. /// </summary>
  19. public short SysOrgId { get; set; }
  20. /// <summary>
  21. /// 校区ID
  22. /// </summary>
  23. public short? SysOrgBranchId { get; set; }
  24. /// <summary>
  25. /// 学生姓名
  26. /// </summary>
  27. public string StudentName { get; set; }
  28. /// <summary>
  29. /// 证件类型
  30. /// </summary>
  31. public CertificateType CertificateType { get; set; }
  32. /// <summary>
  33. /// 证件号码
  34. /// </summary>
  35. public string IdNumber { get; set; }
  36. /// <summary>
  37. /// 性别
  38. /// </summary>
  39. public short Gender { get; set; } = 0;
  40. /// <summary>
  41. /// 考号(监测号)
  42. /// </summary>
  43. public string ExamNumber { get; set; }
  44. /// <summary>
  45. /// 年级号
  46. /// </summary>
  47. public short GradeNumber { get; set; }
  48. /// <summary>
  49. /// 年级ID
  50. /// </summary>
  51. public short GradeId { get; set; }
  52. /// <summary>
  53. /// 入学年份
  54. /// </summary>
  55. public short GradeBeginYear { get; set; }
  56. /// <summary>
  57. /// 毕业年份
  58. /// </summary>
  59. public short GradeEndYear { get; set; }
  60. /// <summary>
  61. /// 监测年级ID
  62. /// </summary>
  63. public int ExamGradeId { get; set; }
  64. /// <summary>
  65. /// 班级号
  66. /// </summary>
  67. public short ClassNumber { get; set; }
  68. /// <summary>
  69. /// 班级ID
  70. /// </summary>
  71. public long SchoolClassId { get; set; }
  72. /// <summary>
  73. /// 选科组合
  74. /// </summary>
  75. public short? NceeCourseCombId { get; set; }
  76. /// <summary>
  77. /// 科目ID
  78. /// </summary>
  79. public short CourseId { get; set; }
  80. /// <summary>
  81. /// 成绩
  82. /// </summary>
  83. public decimal Score { get; set; } = 0;
  84. /// <summary>
  85. /// 是否排除
  86. /// </summary>
  87. public bool IsExcluded { get; set; } = false;
  88. }
  89. /// <summary>
  90. /// 小题成绩导入文件信息
  91. /// </summary>
  92. public class ExamScoreMinorFileInfo
  93. {
  94. public ExamSampleType ExamSampleType { get; set; }
  95. public short GradeId { get; set; }
  96. public Grade Grade { get; set; }
  97. public short CourseId { get; set; }
  98. public Course Course { get; set; }
  99. public string FilePath { get; set; }
  100. }
  101. public class ExamScoreMinorImportDto
  102. {
  103. public short SysOrgId { get; set; } = 0;
  104. public long ExamStudentId { get; set; } = 0;
  105. public int ExamPaperQuestionMinorId { get; set; } = 0;
  106. public decimal Score { get; set; } = 0;
  107. public decimal StarScore { get; set; } = 0;
  108. }