GraduationCourseTypeSettingView.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.GraduationManage.GraduationRequirement
  9. {
  10. public class GraduationCourseTypeSettingView
  11. {
  12. /// <summary>
  13. /// 主键ID(毕业课程类型设置ID)
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid GraduationCourseTypeSettingID { get; set; }
  17. /// <summary>
  18. /// 类型代码
  19. /// </summary>
  20. [DisplayName("类型代码")]
  21. public int? CourseTypeID { get; set; }
  22. /// <summary>
  23. /// 课程类型
  24. /// </summary>
  25. [DisplayName("课程类型")]
  26. public string CourseTypeName { get; set; }
  27. /// <summary>
  28. /// 颜色条码
  29. /// </summary>
  30. [DisplayName("颜色条码")]
  31. public string ColourBlock { get; set; }
  32. /// <summary>
  33. /// 颜色代码
  34. /// </summary>
  35. [DisplayName("颜色代码")]
  36. public string CourseTypeColour { get; set; }
  37. /// <summary>
  38. /// 是否必修
  39. /// </summary>
  40. [DisplayName("是否必修")]
  41. public bool? IsRequired { get; set; }
  42. /// <summary>
  43. /// 是否必修
  44. /// </summary>
  45. [DisplayName("是否必修")]
  46. public string IsRequiredName
  47. {
  48. get
  49. {
  50. return IsRequired == true ? "是" : "否";
  51. }
  52. }
  53. /// <summary>
  54. /// 是否限选
  55. /// </summary>
  56. [DisplayName("是否限选")]
  57. public bool? IsOptionalCourse { get; set; }
  58. /// <summary>
  59. /// 是否限选
  60. /// </summary>
  61. [DisplayName("是否限选")]
  62. public string IsOptionalCourseName
  63. {
  64. get
  65. {
  66. return IsOptionalCourse == true ? "是" : "否";
  67. }
  68. }
  69. /// <summary>
  70. /// 是否任选
  71. /// </summary>
  72. [DisplayName("是否任选")]
  73. public bool? IsFreeSelectionCourse { get; set; }
  74. /// <summary>
  75. /// 是否任选
  76. /// </summary>
  77. [DisplayName("是否任选")]
  78. public string IsFreeSelectionCourseName
  79. {
  80. get
  81. {
  82. return IsFreeSelectionCourse == true ? "是" : "否";
  83. }
  84. }
  85. /// <summary>
  86. /// 是否方向选修
  87. /// </summary>
  88. [DisplayName("是否方向选修")]
  89. public bool? IsElective { get; set; }
  90. /// <summary>
  91. /// 是否方向选修
  92. /// </summary>
  93. [DisplayName("是否方向选修")]
  94. public string IsElectiveName
  95. {
  96. get
  97. {
  98. return IsElective == true ? "是" : "否";
  99. }
  100. }
  101. /// <summary>
  102. /// 是否公共选修
  103. /// </summary>
  104. [DisplayName("是否公共选修")]
  105. public bool? IsElectivePublic { get; set; }
  106. /// <summary>
  107. /// 是否公共选修
  108. /// </summary>
  109. [DisplayName("是否公共选修")]
  110. public string IsElectivePublicName
  111. {
  112. get
  113. {
  114. return IsElectivePublic == true ? "是" : "否";
  115. }
  116. }
  117. /// <summary>
  118. /// 是否通识教育
  119. /// </summary>
  120. [DisplayName("是否通识教育")]
  121. public bool? IsGeneralEducation { get; set; }
  122. /// <summary>
  123. /// 是否通识教育
  124. /// </summary>
  125. [DisplayName("是否通识教育")]
  126. public string IsGeneralEducationName
  127. {
  128. get
  129. {
  130. return IsGeneralEducation == true ? "是" : "否";
  131. }
  132. }
  133. /// <summary>
  134. /// 是否校本课程
  135. /// </summary>
  136. [DisplayName("是否校本课程")]
  137. public bool? IsSchoolbasedCurriculum { get; set; }
  138. /// <summary>
  139. /// 是否校本课程
  140. /// </summary>
  141. [DisplayName("是否校本课程")]
  142. public string IsSchoolbasedCurriculumName
  143. {
  144. get
  145. {
  146. return IsSchoolbasedCurriculum == true ? "是" : "否";
  147. }
  148. }
  149. /// <summary>
  150. /// 是否实践环节
  151. /// </summary>
  152. [DisplayName("是否实践环节")]
  153. public bool? IsPractise { get; set; }
  154. /// <summary>
  155. /// 是否实践环节
  156. /// </summary>
  157. [DisplayName("是否实践环节")]
  158. public string IsPractiseName
  159. {
  160. get
  161. {
  162. return IsPractise == true ? "是" : "否";
  163. }
  164. }
  165. /// <summary>
  166. /// 是否显示
  167. /// </summary>
  168. [DisplayName("是否显示")]
  169. public bool IsDisplay { get; set; }
  170. /// <summary>
  171. /// 是否显示
  172. /// </summary>
  173. [DisplayName("是否显示")]
  174. public string IsDisplayName
  175. {
  176. get
  177. {
  178. return IsDisplay == true ? "是" : "否";
  179. }
  180. }
  181. /// <summary>
  182. /// 状态
  183. /// </summary>
  184. [DisplayName("状态")]
  185. public int? RecordStatus { get; set; }
  186. /// <summary>
  187. /// 创建人
  188. /// </summary>
  189. [DisplayName("创建人")]
  190. public Guid? CreateUserID { get; set; }
  191. /// <summary>
  192. /// 创建时间
  193. /// </summary>
  194. [DisplayName("创建时间")]
  195. public DateTime? CreateTime { get; set; }
  196. /// <summary>
  197. /// 修改人
  198. /// </summary>
  199. [DisplayName("修改人")]
  200. public Guid? ModifyUserID { get; set; }
  201. /// <summary>
  202. /// 修改时间
  203. /// </summary>
  204. [DisplayName("修改时间")]
  205. public DateTime? ModifyTime { get; set; }
  206. }
  207. }