StudentGradView.cs 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. namespace EMIS.ViewModel.Students
  8. {
  9. public class StudentGradView
  10. {
  11. /// <summary>
  12. /// 用户ID
  13. /// </summary>
  14. [DisplayName("用户ID")]
  15. public Guid UserID { get; set; }
  16. /// <summary>
  17. /// 学号
  18. /// </summary>
  19. [DisplayName("学号")]
  20. public string LoginID { get; set; }
  21. /// <summary>
  22. /// 姓名
  23. /// </summary>
  24. [DisplayName("姓名")]
  25. public string UserName { get; set; }
  26. /// <summary>
  27. /// 院系
  28. /// </summary>
  29. [DisplayName("院系")]
  30. public string FacultyName { get; set; }
  31. /// <summary>
  32. /// 年级
  33. /// </summary>
  34. [DisplayName("年级")]
  35. public string GradeName { get; set; }
  36. /// <summary>
  37. /// 年级专业
  38. /// </summary>
  39. [DisplayName("年级专业")]
  40. public string GradeCode { get; set; }
  41. /// <summary>
  42. /// 班级名称
  43. /// </summary>
  44. [DisplayName("班级名称")]
  45. public string ClassName { get; set; }
  46. /// <summary>
  47. /// 拟毕业日期
  48. /// </summary>
  49. [DisplayName("拟毕业日期")]
  50. [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
  51. public DateTime? PlanningGraduateDate { get; set; }
  52. /// <summary>
  53. /// 门数
  54. /// </summary>
  55. [DisplayName("门数")]
  56. public int Menshu { get; set; }
  57. /// <summary>
  58. /// 平均成绩
  59. /// </summary>
  60. [DisplayName("平均成绩")]
  61. [DisplayFormat(DataFormatString = "{0:#.00}")]
  62. public decimal? AverageGrade { get; set; }
  63. /// <summary>
  64. /// 总分数
  65. /// </summary>
  66. [DisplayName("总分数")]
  67. public decimal? TotalScore { get; set; }
  68. /// <summary>
  69. /// 学分
  70. /// </summary>
  71. [DisplayName("学分")]
  72. public decimal? ScoreCredit { get; set; }
  73. /// <summary>
  74. /// 必修学分
  75. /// </summary>
  76. [DisplayName("必修学分")]
  77. public decimal? Required { get; set; }
  78. /// <summary>
  79. /// 限选学分(含通识教育)
  80. /// </summary>
  81. [DisplayName("限选学分(含通识教育)")]
  82. public decimal? CapLimit { get; set; }
  83. /// <summary>
  84. /// 限选学分
  85. /// </summary>
  86. [DisplayName("限选学分")]
  87. public decimal? OptionalCourseCredit { get; set; }
  88. /// <summary>
  89. /// 任选学分
  90. /// </summary>
  91. [DisplayName("任选学分")]
  92. public decimal? FreeSelectionCourseCredit { get; set; }
  93. /// <summary>
  94. /// 方向选修课
  95. /// </summary>
  96. [DisplayName("方向选修课")]
  97. public decimal? ElectiveCredit { get; set; }
  98. /// <summary>
  99. /// 公共选修课程
  100. /// </summary>
  101. [DisplayName("公共选修课程")]
  102. public decimal? ElectivePublicCredit { get; set; }
  103. /// <summary>
  104. /// 通识教育
  105. /// </summary>
  106. /// [DisplayName("通识教育")]
  107. public decimal? GeneralEducationCredit { get; set; }
  108. /// <summary>
  109. /// 校本课
  110. /// </summary>
  111. [DisplayName("校本课")]
  112. public decimal? SchoolbasedCredit { get; set; }
  113. /// <summary>
  114. /// 校本课不含俱乐部
  115. /// </summary>
  116. [DisplayName("校本课不含俱乐部")]
  117. public decimal? SchoolbasedNotClub { get; set; }
  118. /// <summary>
  119. /// 校本课只含俱乐部
  120. /// </summary>
  121. [DisplayName("校本课只含俱乐部")]
  122. public decimal? SchoolbasedWithClub { get; set; }
  123. /// <summary>
  124. /// 实践环节
  125. /// </summary>
  126. [DisplayName("实践环节")]
  127. public decimal? PractiseCredit { get; set; }
  128. /// <summary>
  129. /// 实践环节(不包含俱乐部)
  130. /// </summary>
  131. [DisplayName("实践环节(不包含俱乐部)")]
  132. public decimal? PractiseNotCredit { get; set; }
  133. /// <summary>
  134. /// 实践环节(只包含俱乐部)
  135. /// </summary>
  136. [DisplayName("实践环节(只包含俱乐部)")]
  137. public decimal? PractiseWithClub { get; set; }
  138. }
  139. }