StudentEvaluationCountView.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. using EMIS.ViewModel.CacheManage;
  8. using EMIS.Entities;
  9. namespace EMIS.ViewModel.EvaluationManage
  10. {
  11. public class StudentEvaluationCountView
  12. {
  13. //public List<EM_EvaluationSetting> settinglst { get; set; }
  14. public Guid? UserID { get; set; }
  15. public Guid ExaminationRegistrationID { get; set; }
  16. [DisplayName("学号")]
  17. public string StudentNo { get; set; }
  18. [DisplayName("姓名")]
  19. public string Name { get; set; }
  20. [DisplayName("性别")]
  21. public int? Sex { get; set; }
  22. [DisplayName("性别")]
  23. public string SexName
  24. {
  25. get
  26. {
  27. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  28. .Where(x => x.Value == Sex)
  29. .Select(x => x.Name).FirstOrDefault();
  30. }
  31. }
  32. [DisplayName("班级名称")]
  33. public Guid? ClassmajorID { get; set; }
  34. [DisplayName("班级名称")]
  35. public string ClassmajorName { get; set; }
  36. [DisplayName("班号")]
  37. public string ClassmajorNo { get; set; }
  38. [DisplayName("科目名称")]
  39. public string SubjectName { get; set; }
  40. [DisplayName("证件类型")]
  41. public int? CertificatesType { get; set; }
  42. [DisplayName("证件类型")]
  43. public string CertificatesTypeName
  44. {
  45. get
  46. {
  47. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  48. .Where(x => x.Value == CertificatesType)
  49. .Select(x => x.Name).FirstOrDefault();
  50. }
  51. }
  52. [DisplayName("证件号码")]
  53. public string IDNumber { get; set; }
  54. /// <summary>
  55. /// 银行卡号
  56. /// </summary>
  57. [DisplayName("银行卡号")]
  58. public string CardNo { get; set; }
  59. [DisplayName("学历")]
  60. public int? EducationID { get; set; }
  61. [DisplayName("学历")]
  62. public string EducationName
  63. {
  64. get
  65. {
  66. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString())
  67. .Where(x => x.Value == EducationID)
  68. .Select(x => x.Name).FirstOrDefault();
  69. }
  70. }
  71. [DisplayName("学制")]
  72. public decimal? LearnSystem { get; set; }
  73. [DisplayName("入学年份")]
  74. public int? Year { get; set; }
  75. //public int? StartSchoolyearValue { get; set; }
  76. //public int? EndSchoolyearValue { get; set; }
  77. [DisplayName("学年学期")]
  78. public Guid? SchoolyearID { get; set; }
  79. [DisplayName("学年学期")]
  80. public string SchoolyearCode { get; set; }
  81. [DisplayName("年级")]
  82. public int? SchoolyearNumID { get; set; }
  83. public int? StartSchoolyearValue { get; set; }
  84. public int? EndSchoolyearValue { get; set; }
  85. [DisplayName("年级")]
  86. public string SchoolyearNumName
  87. {
  88. get
  89. {
  90. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Year.ToString()).Where(x => x.Value == SchoolyearNumID).Select(x => x.Name).FirstOrDefault();
  91. }
  92. }
  93. [DisplayName("院系")]
  94. public Guid? CollegeID { get; set; }
  95. [DisplayName("院系")]
  96. public string CollegeName { get; set; }
  97. [DisplayName("专业")]
  98. public int? StandardID { get; set; }
  99. [DisplayName("专业")]
  100. public string StandardName
  101. {
  102. get
  103. {
  104. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  105. .Where(x => x.Value == StandardID)
  106. .Select(x => x.Name).FirstOrDefault();
  107. }
  108. }
  109. [DisplayName("评价设定ID")]
  110. public Guid? EvaluationSettingID { get; set; }
  111. [DisplayName("评价设定")]
  112. public string EvaluationSettingName { get; set; }
  113. [DisplayName("教学任务班ID")]
  114. public Guid? EducationMissionClassID { get; set; }
  115. [DisplayName("已评人次")]
  116. public int? CompleteCount { get; set; }
  117. [DisplayName("未评人次")]
  118. public int? UncompletedCount { get; set; }
  119. [DisplayName("需评人次")]
  120. public int? NeedEvaluationCount { get; set; }
  121. }
  122. }