TeacherEvaluationCountView.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. using EMIS.ViewModel.UniversityManage.TeacherManage;
  9. namespace EMIS.ViewModel.EvaluationManage
  10. {
  11. public class TeacherEvaluationCountView
  12. {
  13. /// <summary>
  14. /// 任务班ID
  15. /// </summary>
  16. [DisplayName("任务班ID")]
  17. [Required]
  18. public Guid? EducationMissionClassID { get; set; }
  19. /// <summary>
  20. /// 任务班名称
  21. /// </summary>
  22. [DisplayName("任务班名称")]
  23. public string EducationMissionClassName { get; set; }
  24. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
  25. public Guid? CollegeID { get; set; }
  26. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeName")]
  27. public string CollegeName { get; set; }
  28. /// <summary>
  29. /// 参评类型ID
  30. /// </summary>
  31. [DisplayName("参评类型ID")]
  32. public Guid? EvaluationTypeID { get; set; }
  33. /// <summary>
  34. /// 参评类型名称
  35. /// </summary>
  36. [DisplayName("参评类型名称")]
  37. public string EvaluationTypeName { get; set; }
  38. /// <summary>
  39. /// 评价表ID
  40. /// </summary>
  41. [DisplayName("评价表ID")]
  42. [Required]
  43. public Guid? TableID { get; set; }
  44. /// <summary>
  45. /// 评价表名
  46. /// </summary>
  47. [DisplayName("评价表名")]
  48. public string EvaluationTableName { get; set; }
  49. /// <summary>
  50. /// 评价表编号
  51. /// </summary>
  52. [DisplayName("评价表编号")]
  53. public string EvaluationTableNo { get; set; }
  54. /// <summary>
  55. /// 学年学期
  56. /// </summary>
  57. [DisplayName("学年学期")]
  58. public Guid? SchoolyearID { get; set; }
  59. /// <summary>
  60. /// 学年学期代码
  61. /// </summary>
  62. [DisplayName("学年学期")]
  63. public string SchoolyearCode { get; set; }
  64. /// <summary>
  65. /// 开放状态
  66. /// </summary>
  67. [DisplayName("开放状态")]
  68. public int OpenStatus { get; set; }
  69. /// <summary>
  70. /// 开放状态
  71. /// </summary>
  72. [DisplayName("开放状态")]
  73. public string OpenStatusName { get; set; }
  74. /// <summary>
  75. /// 备注
  76. /// </summary>
  77. [DisplayName("备注")]
  78. public string Remark { get; set; }
  79. [DisplayName("教研室ID")]
  80. public Guid? DepartmentID { get; set; }
  81. [DisplayName("教研室名称")]
  82. public string DepartmentName { get; set; }
  83. public Guid? CampusID { get; set; }
  84. public IEnumerable<Sys_User> Sys_User { get; set; }
  85. [DisplayName("教师工号")]
  86. public string TeacherNo { get; set; }
  87. [DisplayName("教师名称")]
  88. public string TeacherName { get; set; }
  89. [DisplayName("已评人次")]
  90. public int? CompleteCount { get; set; }
  91. [DisplayName("未评人次")]
  92. public int? UncompletedCount { get; set; }
  93. [DisplayName("需评人次")]
  94. public int? NeedEvaluationCount { get; set; }
  95. /// <summary>
  96. /// 参评人
  97. /// </summary>
  98. [DisplayName("教师名称")]
  99. public IEnumerable<ParticipatorView> Participators { get; set; }
  100. ///// <summary>
  101. ///// 参评人名称
  102. ///// </summary>
  103. //[DisplayName("参选人")]
  104. //public string ParticipatorNames
  105. //{
  106. // get
  107. // {
  108. // return string.Join(",", Participators.Select(s => s.Name));
  109. // }
  110. //}
  111. }
  112. //public class ParticipatorView
  113. //{
  114. // public string Code { get; set; }
  115. // public string Name { get; set; }
  116. //}
  117. }