SupEvaluationView.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.CacheManage;
  6. namespace EMIS.ViewModel.SupervisionManage
  7. {
  8. public class SupEvaluationView
  9. {
  10. /// <summary>
  11. /// 学年学期ID
  12. /// </summary>
  13. public Guid? SchoolYearID { get; set; }
  14. /// <summary>
  15. /// 学年学期
  16. /// </summary>
  17. public string SchoolyearCode { get; set; }
  18. /// <summary>
  19. /// 听课记录ID
  20. /// </summary>
  21. public Guid? LessonRecordID { get; set; }
  22. /// <summary>
  23. /// 项目记录ID
  24. /// </summary>
  25. public Guid? ProjectRecordID { get; set; }
  26. /// <summary>
  27. /// 督导日期
  28. /// </summary>
  29. public DateTime? LessonDate { get; set; }
  30. public string LessonDateStr
  31. {
  32. get
  33. {
  34. if(LessonDate.HasValue)
  35. {
  36. var dateStr=LessonDate.Value.Year+"年"+LessonDate.Value.Month+"月"+LessonDate.Value.Day+"日";
  37. return dateStr;
  38. }else{
  39. return null;
  40. }
  41. }
  42. }
  43. /// <summary>
  44. /// 地点
  45. /// </summary>
  46. public string Location { get; set; }
  47. /// <summary>
  48. /// 督导院系所ID
  49. /// </summary>
  50. public Guid? SupervisionCollegeID { get; set; }
  51. /// <summary>
  52. /// 督导院系所
  53. /// </summary>
  54. public string SupervisionCollegeName{get;set;}
  55. /// <summary>
  56. /// 督导对象ID
  57. /// </summary>
  58. public Guid? UserID { get; set; }
  59. /// <summary>
  60. /// 督导对象姓名
  61. /// </summary>
  62. public string UserName { get; set; }
  63. /// <summary>
  64. /// 课程资料ID
  65. /// </summary>
  66. public Guid? CoursematerialID { get; set; }
  67. /// <summary>
  68. /// 课程名称
  69. /// </summary>
  70. public string CourseName { get; set; }
  71. /// <summary>
  72. /// 星期
  73. /// </summary>
  74. public int? Weekday { get; set; }
  75. /// <summary>
  76. /// 节次
  77. /// </summary>
  78. public Guid? CoursesTimeID { get; set; }
  79. /// <summary>
  80. /// 内容
  81. /// </summary>
  82. public string Content { get; set; }
  83. /// <summary>
  84. /// 建议
  85. /// </summary>
  86. public string Advise { get; set; }
  87. /// <summary>
  88. /// 督导类型
  89. /// </summary>
  90. public int? SupervisionTypeID { get; set; }
  91. public string SupervisionTypeName
  92. {
  93. get
  94. {
  95. if (SupervisionTypeID==null)
  96. {
  97. return "督导听课";
  98. }
  99. else{
  100. return IdNameExt.GetDictionaryItem(DictionaryItem.SUP_SupervisionType.ToString())
  101. .Where(x => x.Value == SupervisionTypeID)
  102. .Select(x => x.Name).FirstOrDefault();
  103. }
  104. }
  105. }
  106. /// <summary>
  107. /// 开始时间
  108. /// </summary>
  109. public int StartTimes { get; set; }
  110. /// <summary>
  111. /// 结束时间
  112. /// </summary>
  113. public int EndTimes { get; set; }
  114. public decimal? TotalScore { get; set; }
  115. public Guid? CreateUserID { get; set; }
  116. public string CreateUserName { get; set; }
  117. }
  118. }