ExaminationClassStudentStatisticsView.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. namespace EMIS.ViewModel.ExaminationApply
  9. {
  10. public class ExaminationClassStudentStatisticsView
  11. {
  12. public Guid? UserID { get; set; }
  13. [DisplayName("报名费")]
  14. public Nullable<decimal> Cost { get; set; }
  15. [DisplayName("报名人数")]
  16. public int? StudentCount { get; set; }
  17. [DisplayName("学号")]
  18. public string StudentNo { get; set; }
  19. [DisplayName("姓名")]
  20. public string Name { get; set; }
  21. [DisplayName("性别")]
  22. public int? Sex { get; set; }
  23. [DisplayName("性别")]
  24. public string SexName
  25. {
  26. get
  27. {
  28. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  29. .Where(x => x.Value == Sex)
  30. .Select(x => x.Name).FirstOrDefault();
  31. }
  32. }
  33. [DisplayName("班级名称")]
  34. public Guid? ClassmajorID { get; set; }
  35. [DisplayName("班级名称")]
  36. public string ClassmajorName { get; set; }
  37. [DisplayName("班号")]
  38. public string ClassmajorNo { get; set; }
  39. [DisplayName("年级专业名称")]
  40. public Guid? GrademajorID { get; set; }
  41. [DisplayName("年级专业名称")]
  42. public string GrademajorName { get; set; }
  43. [DisplayName("年级专业号")]
  44. public string GrademajorNo { get; set; }
  45. [DisplayName("科目名称")]
  46. public string SubjectName { get; set; }
  47. [DisplayName("科目ID")]
  48. public Guid? SubjectID { get; set; }
  49. [DisplayName("证件类型")]
  50. public int? CertificatesType { get; set; }
  51. [DisplayName("证件类型")]
  52. public string CertificatesTypeName
  53. {
  54. get
  55. {
  56. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  57. .Where(x => x.Value == CertificatesType)
  58. .Select(x => x.Name).FirstOrDefault();
  59. }
  60. }
  61. [DisplayName("证件号码")]
  62. public string IDNumber { get; set; }
  63. /// <summary>
  64. /// 银行卡号
  65. /// </summary>
  66. [DisplayName("银行卡号")]
  67. public string CardNo { get; set; }
  68. [DisplayName("学历")]
  69. public int? EducationID { get; set; }
  70. [DisplayName("学历")]
  71. public string EducationName
  72. {
  73. get
  74. {
  75. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString())
  76. .Where(x => x.Value == EducationID)
  77. .Select(x => x.Name).FirstOrDefault();
  78. }
  79. }
  80. [DisplayName("学制")]
  81. public decimal? LearnSystem { get; set; }
  82. [DisplayName("入学年份")]
  83. public int? Year { get; set; }
  84. //public int? StartSchoolyearValue { get; set; }
  85. //public int? EndSchoolyearValue { get; set; }
  86. [DisplayName("报名学年学期")]
  87. public Guid? SchoolyearID { get; set; }
  88. [DisplayName("报名学年学期")]
  89. public string SchoolyearCode { get; set; }
  90. [DisplayName("考试学年学期")]
  91. public Guid? ExaminationSchoolyearID { get; set; }
  92. [DisplayName("考试学年学期")]
  93. public string ExaminationSchoolyearCode { get; set; }
  94. [DisplayName("年级")]
  95. public int? SchoolyearNumID { get; set; }
  96. [DisplayName("年级")]
  97. public string SchoolyearNumName
  98. {
  99. get
  100. {
  101. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolyearNum.ToString())
  102. .Where(x => x.Value == SchoolyearNumID)
  103. .Select(x => x.Name).FirstOrDefault();
  104. }
  105. }
  106. [DisplayName("院系")]
  107. public Guid? CollegeID { get; set; }
  108. [DisplayName("院系")]
  109. public string CollegeName { get; set; }
  110. [DisplayName("专业")]
  111. public int? StandardID { get; set; }
  112. [DisplayName("专业")]
  113. public string StandardName
  114. {
  115. get
  116. {
  117. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  118. .Where(x => x.Value == StandardID)
  119. .Select(x => x.Name).FirstOrDefault();
  120. }
  121. }
  122. [DisplayName("报考次数")]
  123. public int RegistedCount { get; set; }
  124. [DisplayName("照片")]
  125. public string PhotoUrl { get; set; }
  126. }
  127. }