EvaluationRecordView.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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.Entities;
  8. namespace EMIS.ViewModel.EvaluationManage
  9. {
  10. public class EvaluationRecordView
  11. {
  12. /// <summary>
  13. /// 进入评价ID
  14. /// </summary>
  15. [DisplayName("进入评价ID")]
  16. public Guid? EvaluationEnterID { get; set; }
  17. /// <summary>
  18. /// 评价编号
  19. /// </summary>
  20. [DisplayName("评价编号")]
  21. public string EvaluationSettingCode { get; set; }
  22. /// <summary>
  23. /// 教学任务班ID
  24. /// </summary>
  25. [DisplayName("教学任务班ID")]
  26. public Guid? EducationMissionClassID { get; set; }
  27. /// <summary>
  28. /// 任务班名称
  29. /// </summary>
  30. [DisplayName("任务班名称")]
  31. public string EducationMissionClassName { get; set; }
  32. /// <summary>
  33. /// 参评类型ID
  34. /// </summary>
  35. [DisplayName("参评类型ID")]
  36. public Guid? EvaluationTypeID { get; set; }
  37. /// <summary>
  38. /// 参评类型
  39. /// </summary>
  40. [DisplayName("参评类型")]
  41. public string EvaluationTypeName { get; set; }
  42. /// <summary>
  43. /// 评价类型ID
  44. /// </summary>
  45. [DisplayName("评价类型ID")]
  46. public Guid? EvaluationIntTypeID { get; set; }
  47. /// <summary>
  48. /// 评价类型
  49. /// </summary>
  50. [DisplayName("评价类型")]
  51. public string EvaluationIntTypeName { get; set; }
  52. /// <summary>
  53. /// 评价类型
  54. /// </summary>
  55. [DisplayName("评价类型ID")]
  56. public Guid? EvaluationTableTypeID { get; set; }
  57. /// <summary>
  58. /// 评价类型
  59. /// </summary>
  60. [DisplayName("评价类型")]
  61. public string EvaluationTableTypeName { get; set; }
  62. /// <summary>
  63. /// 评价表ID
  64. /// </summary>
  65. [DisplayName("评价表")]
  66. public Guid? EvaluationTableID { get; set; }
  67. /// <summary>
  68. /// 评价表名
  69. /// </summary>
  70. [DisplayName("评价表名")]
  71. public string EvaluationTableName { get; set; }
  72. /// <summary>
  73. /// 评价表编号
  74. /// </summary>
  75. [DisplayName("评价表编号")]
  76. public string EvaluationTableNo { get; set; }
  77. /// <summary>
  78. /// 课程代码
  79. /// </summary>
  80. [DisplayName("课程代码")]
  81. public string CourseCode { get; set; }
  82. /// <summary>
  83. /// 课程名称
  84. /// </summary>
  85. [DisplayName("课程名称")]
  86. public string CourseName { get; set; }
  87. /// <summary>
  88. /// 年级
  89. /// </summary>
  90. [DisplayName("年级")]
  91. public int? Grade { get; set; }
  92. ///<summary>
  93. ///专业名称ID
  94. /// </summary>
  95. [DisplayName("专业名称ID")]
  96. public int? StandardID { get; set; }
  97. ///<summary>
  98. ///专业名称
  99. /// </summary>
  100. [DisplayName("专业名称")]
  101. public string Standard { get; set; }
  102. ///<summary>
  103. ///校区名称
  104. /// </summary>
  105. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")]
  106. public string Campus { get; set; }
  107. ///<summary>
  108. ///校区ID
  109. /// </summary>
  110. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusID")]
  111. public Guid? CampusID { get; set; }
  112. ///<summary>
  113. ///班级信息ID
  114. /// </summary>
  115. [DisplayName("班级信息ID")]
  116. public Guid? ClassID { get; set; }
  117. ///<summary>
  118. ///班级名称
  119. /// </summary>
  120. [DisplayName("班级名称")]
  121. public string ClassName { get; set; }
  122. ///<summary>
  123. ///被评教师ID
  124. /// </summary>
  125. [DisplayName("被评教师ID")]
  126. public Guid? staffID { get; set; }
  127. ///<summary>
  128. ///被评教师
  129. /// </summary>
  130. [DisplayName("被评教师")]
  131. public string staff { get; set; }
  132. /// <summary>
  133. /// 学年学期
  134. /// </summary>
  135. [DisplayName("学年学期")]
  136. public Guid? SchoolyearID { get; set; }
  137. /// <summary>
  138. /// 学年学期代码
  139. /// </summary>
  140. [DisplayName("学年学期")]
  141. public string SchoolyearCode { get; set; }
  142. /// <summary>
  143. /// 学年
  144. /// </summary>
  145. [DisplayName("学年")]
  146. public int? year { get; set; }
  147. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  148. public Guid? CollegeID { get; set; }
  149. [DisplayName("已评次数")]
  150. public int EvaluationCount { get; set; }
  151. [DisplayName("限制次数")]
  152. public int LimitMore { get; set; }
  153. public IEnumerable<Sys_User> Sys_User { get; set; }
  154. [DisplayName("参评人编号")]
  155. public string EvaluationCode { get; set; }
  156. [DisplayName("参评人")]
  157. public string EvaluationName { get; set; }
  158. [DisplayName("被评教师")]
  159. public string B_EvaluationName
  160. {
  161. get
  162. {
  163. return string.Join(",", Sys_User.Select(s => s.Name));
  164. }
  165. }
  166. public int? LearningformID { get; set; }
  167. public int? EducationID { get; set; }
  168. public decimal? LearnSystem { get; set; }
  169. }
  170. }