CourseTypeSetView.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. using EMIS.ViewModel.CacheManage;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.CultureplanManage.CourseMaterial
  8. {
  9. public class CourseTypeSetView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid CourseTypeSelectCourseTypeID { get; set; }
  16. /// <summary>
  17. /// 类型代码
  18. /// </summary>
  19. [DisplayName("类型代码")]
  20. public int? CourseTypeID { get; set; }
  21. /// <summary>
  22. /// 课程类型
  23. /// </summary>
  24. [DisplayName("课程类型")]
  25. public string CourseTypeName { get; set; }
  26. /// <summary>
  27. /// 颜色条码
  28. /// </summary>
  29. [DisplayName("颜色条码")]
  30. public string ColourBlock { get; set; }
  31. /// <summary>
  32. /// 颜色代码
  33. /// </summary>
  34. [DisplayName("颜色代码")]
  35. public string CourseTypeColour { get; set; }
  36. /// <summary>
  37. /// 是否必修
  38. /// </summary>
  39. [DisplayName("是否必修")]
  40. public bool? IsRequired { get; set; }
  41. /// <summary>
  42. /// 是否必修
  43. /// </summary>
  44. [DisplayName("是否必修")]
  45. public string IsRequiredName
  46. {
  47. get
  48. {
  49. return IsRequired == true ? "是" : "否";
  50. }
  51. }
  52. /// <summary>
  53. /// 是否限选
  54. /// </summary>
  55. [DisplayName("是否限选")]
  56. public bool? IsOptionalCourse { get; set; }
  57. /// <summary>
  58. /// 是否限选
  59. /// </summary>
  60. [DisplayName("是否限选")]
  61. public string IsOptionalCourseName
  62. {
  63. get
  64. {
  65. return IsOptionalCourse == true ? "是" : "否";
  66. }
  67. }
  68. /// <summary>
  69. /// 是否任选
  70. /// </summary>
  71. [DisplayName("是否任选")]
  72. public bool? IsFreeSelectionCourse { get; set; }
  73. /// <summary>
  74. /// 是否任选
  75. /// </summary>
  76. [DisplayName("是否任选")]
  77. public string IsFreeSelectionCourseName
  78. {
  79. get
  80. {
  81. return IsFreeSelectionCourse == true ? "是" : "否";
  82. }
  83. }
  84. /// <summary>
  85. /// 是否显示
  86. /// </summary>
  87. [DisplayName("是否显示")]
  88. public bool IsDisplay { get; set; }
  89. /// <summary>
  90. /// 是否显示
  91. /// </summary>
  92. [DisplayName("是否显示")]
  93. public string IsDisplayName
  94. {
  95. get
  96. {
  97. return IsDisplay == true ? "是" : "否";
  98. }
  99. }
  100. /// <summary>
  101. /// 状态
  102. /// </summary>
  103. [DisplayName("状态")]
  104. public int? RecordStatus { get; set; }
  105. /// <summary>
  106. /// 创建人
  107. /// </summary>
  108. [DisplayName("创建人")]
  109. public Guid? CreateUserID { get; set; }
  110. /// <summary>
  111. /// 创建人
  112. /// </summary>
  113. [DisplayName("创建人")]
  114. public string CreateUserName { get; set; }
  115. /// <summary>
  116. /// 创建时间
  117. /// </summary>
  118. [DisplayName("创建时间")]
  119. public DateTime? CreateTime { get; set; }
  120. /// <summary>
  121. /// 修改人
  122. /// </summary>
  123. [DisplayName("修改人")]
  124. public Guid? ModifyUserID { get; set; }
  125. /// <summary>
  126. /// 修改人
  127. /// </summary>
  128. [DisplayName("修改人")]
  129. public string ModifyUserName { get; set; }
  130. /// <summary>
  131. /// 修改时间
  132. /// </summary>
  133. [DisplayName("修改时间")]
  134. public DateTime? ModifyTime { get; set; }
  135. }
  136. }