EvaluationAdviseView.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. using EMIS.Entities;
  8. namespace EMIS.ViewModel.EvaluationManage
  9. {
  10. public class EvaluationAdviseView
  11. {
  12. [DisplayName("院系所ID")]
  13. public Guid? CollegeID { get; set; }
  14. [DisplayName("院系所")]
  15. public Guid? CollegeName { get; set; }
  16. [DisplayName("教研室")]
  17. public Guid? DepartmentID { get; set; }
  18. [DisplayName("教研室")]
  19. public string DepartmentName { get; set; }
  20. /// <summary>
  21. /// 评语建议
  22. /// </summary>
  23. [DisplayName("评语建议")]
  24. public string Remark { get; set; }
  25. /// <summary>
  26. /// 学年学期
  27. /// </summary>
  28. [DisplayName("学年学期")]
  29. public Guid? SchoolyearID { get; set; }
  30. /// <summary>
  31. /// 学年学期代码
  32. /// </summary>
  33. [DisplayName("学年学期")]
  34. public string SchoolyearCode { get; set; }
  35. /// <summary>
  36. /// 评价表ID
  37. /// </summary>
  38. [DisplayName("评价表")]
  39. public Guid? EvaluationTableID { get; set; }
  40. /// <summary>
  41. /// 评价表名
  42. /// </summary>
  43. [DisplayName("评价表名")]
  44. public string EvaluationTableName { get; set; }
  45. /// <summary>
  46. /// 评价表编号
  47. /// </summary>
  48. [DisplayName("评价表编号")]
  49. public string EvaluationTableNo { get; set; }
  50. /// <summary>
  51. /// 参评类型
  52. /// </summary>
  53. [DisplayName("参评类型")]
  54. public string EvaluationTypeName { get; set; }
  55. /// <summary>
  56. /// 参评类型
  57. /// </summary>
  58. [DisplayName("参评类型ID")]
  59. public Guid? EvaluationTypeID { get; set; }
  60. /// <summary>
  61. /// 任务班ID
  62. /// </summary>
  63. [DisplayName("教学任务班")]
  64. public Guid? EducationMissionClassID { get; set; }
  65. /// <summary>
  66. /// 任务班名称
  67. /// </summary>
  68. [DisplayName("任务班名称")]
  69. public string EducationMissionClassName { get; set; }
  70. [DisplayName("课程名称")]
  71. public Guid? CoursematerialID { get; set; }
  72. /// <summary>
  73. /// 课程名称
  74. /// </summary>
  75. [DisplayName("课程名称")]
  76. public string CourseName { get; set; }
  77. /// <summary>
  78. /// 课程代码
  79. /// </summary>
  80. [DisplayName("课程代码")]
  81. public string CourseCode { get; set; }
  82. public IEnumerable<Sys_User> Sys_User { get; set; }
  83. /// <summary>
  84. /// 教师名称
  85. /// </summary>
  86. [DisplayName("教师名称")]
  87. public string UserNames
  88. {
  89. get
  90. {
  91. return string.Join(",", Sys_User.Select(s => s.Name));
  92. }
  93. }
  94. [DisplayName("教师编号")]
  95. public string UserCodes
  96. {
  97. get
  98. {
  99. return string.Join(",", Sys_User.Select(s => s.LoginID));
  100. }
  101. }
  102. }
  103. }