CoursematerView.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMISOnline.ViewModel.Cache;
  6. namespace EMISOnline.ViewModel.Educational
  7. {
  8. public class CoursematerView
  9. {
  10. public Guid CoursematerialID { get; set; }
  11. /// <summary>
  12. /// 课程编码
  13. /// </summary>
  14. public string CourseCode { get; set; }
  15. /// <summary>
  16. /// 课程名称
  17. /// </summary>
  18. public string CourseName { get; set; }
  19. /// <summary>
  20. /// 学分
  21. /// </summary>
  22. public decimal? Credit { get; set; }
  23. /// <summary>
  24. /// 学时
  25. /// </summary>
  26. public int? Hours { get; set; }
  27. /// <summary>
  28. /// 课程性质
  29. /// </summary>
  30. public int? CourseQualityID { get; set; }
  31. public string CourseQualityName { get; set; }
  32. public DateTime? CreateTime { get; set; }
  33. /// <summary>
  34. /// 上课类型ID
  35. /// </summary>
  36. public Guid? ClassGroupingID { get; set; }
  37. /// <summary>
  38. /// 上课类型
  39. /// </summary>
  40. public string ClassGrouping { get; set; }
  41. /// <summary>
  42. /// 简称
  43. /// </summary>
  44. public string Abbreviation { get; set; }
  45. /// <summary>
  46. /// 英文名称
  47. /// </summary>
  48. public string EnglishName { get; set; }
  49. /// <summary>
  50. /// 课程规范名
  51. /// </summary>
  52. public string StandardName { get; set; }
  53. /// <summary>
  54. /// 课程版本
  55. /// </summary>
  56. public string CourseEdition { get; set; }
  57. /// <summary>
  58. /// 课程简介
  59. /// </summary>
  60. public string CourseSynopsis { get; set; }
  61. /// <summary>
  62. /// 预修课程集
  63. /// </summary>
  64. public string CourseReserve { get; set; }
  65. /// <summary>
  66. /// 课程级别
  67. /// </summary>
  68. public int? CourseLevelID { get; set; }
  69. /// <summary>
  70. /// 课程级别
  71. /// </summary>
  72. public string CourseLevelName
  73. {
  74. get
  75. {
  76. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseLevel.ToString())
  77. .Where(x => x.Value == CourseLevelID)
  78. .Select(x => x.Name).FirstOrDefault();
  79. }
  80. }
  81. /// <summary>
  82. /// 课程科类
  83. /// </summary>
  84. public int? CourseScienceID { get; set; }
  85. /// <summary>
  86. /// 课程科类
  87. /// </summary>
  88. public string CourseScienceName
  89. {
  90. get
  91. {
  92. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseScience.ToString())
  93. .Where(x => x.Value == CourseScienceID)
  94. .Select(x => x.Name).FirstOrDefault();
  95. }
  96. }
  97. /// <summary>
  98. /// 是否启用
  99. /// </summary>
  100. public bool IsEnable { get; set; }
  101. /// <summary>
  102. /// 是否启用
  103. /// </summary>
  104. public string IsEnableName { get; set; }
  105. /// <summary>
  106. /// 状态
  107. /// </summary>
  108. public int? RecordStatus { get; set; }
  109. /// <summary>
  110. /// 备注
  111. /// </summary>
  112. public string Remarks { get; set; }
  113. /// <summary>
  114. /// 创建人
  115. /// </summary>
  116. public Guid? CreateUserID { get; set; }
  117. }
  118. }