DifferentDynamicApprovalView.cs 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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. namespace EMIS.ViewModel.DifferentDynamic
  8. {
  9. public class DifferentDynamicApprovalView
  10. {
  11. /// <summary>
  12. /// 主键
  13. /// </summary>
  14. [DisplayName("主键")]
  15. public Guid EntityID { get; set; }
  16. /// <summary>
  17. /// 异动学期
  18. /// </summary>
  19. [DisplayName("异动学期")]
  20. [Required]
  21. public Guid? SchoolyearID { get; set; }
  22. /// <summary>
  23. /// 异动学期Code
  24. /// </summary>
  25. [DisplayName("异动学期")]
  26. public string SchoolyearCode { get; set; }
  27. /// <summary>
  28. /// 学号对应的UserID
  29. /// </summary>
  30. [DisplayName("学号")]
  31. [Required]
  32. public Guid? UserID { get; set; }
  33. /// <summary>
  34. /// 学号
  35. /// </summary>
  36. [DisplayName("学号")]
  37. public string LoginID { get; set; }
  38. /// <summary>
  39. /// 姓名
  40. /// </summary>
  41. [DisplayName("姓名")]
  42. public string Name { get; set; }
  43. /// <summary>
  44. /// 异动类型
  45. /// </summary>
  46. [DisplayName("异动类型")]
  47. [Required]
  48. public int? DifferentDynamicType { get; set; }
  49. /// <summary>
  50. /// 异动类型名称
  51. /// </summary>
  52. [DisplayName("异动类型")]
  53. public string DifferentDynamicTypeName { get; set; }
  54. /// <summary>
  55. /// 异动原因
  56. /// </summary>
  57. [Required]
  58. [DisplayName("异动原因")]
  59. public int? Reason { get; set; }
  60. /// <summary>
  61. /// 在校状态
  62. /// </summary>
  63. [DisplayName("在校状态")]
  64. public int? InSchoolStatusID { get; set; }
  65. /// <summary>
  66. /// 在校状态名称
  67. /// </summary>
  68. [DisplayName("在校状态")]
  69. public string InSchoolStatusName { get; set; }
  70. /// <summary>
  71. /// 学籍状态
  72. /// </summary>
  73. [DisplayName("学籍状态")]
  74. public int? StudentStatus { get; set; }
  75. /// <summary>
  76. /// 学籍状态名称
  77. /// </summary>
  78. [DisplayName("学籍状态")]
  79. public string StudentStatusName { get; set; }
  80. /// <summary>
  81. /// 专业
  82. /// </summary>
  83. [DisplayName("专业")]
  84. public int? StandardID { get; set; }
  85. /// <summary>
  86. /// 专业名称
  87. /// </summary>
  88. [DisplayName("专业")]
  89. public string StandardName { get; set; }
  90. /// <summary>
  91. /// 班级
  92. /// </summary>
  93. [DisplayName("班级")]
  94. public Guid? ClassmajorID { get; set; }
  95. /// <summary>
  96. /// 班级名称
  97. /// </summary>
  98. [DisplayName("班级")]
  99. public string ClassmajorName { get; set; }
  100. /// <summary>
  101. /// 异动后专业
  102. /// </summary>
  103. [DisplayName("异动后专业")]
  104. public int? AfterStandardID { get; set; }
  105. /// <summary>
  106. /// 异动后班级
  107. /// </summary>
  108. [DisplayName("异动后班级")]
  109. public Guid? AfterClassmajorID { get; set; }
  110. /// <summary>
  111. /// 异动后在校状态
  112. /// </summary>
  113. [Required]
  114. [DisplayName("异动后在校状态")]
  115. public int? AfterInSchoolStatusID { get; set; }
  116. /// <summary>
  117. /// 异动后学籍状态
  118. /// </summary>
  119. [Required]
  120. [DisplayName("异动后学籍状态")]
  121. public int? AfterStudentStatus { get; set; }
  122. /// <summary>
  123. /// 异动后专业名称
  124. /// </summary>
  125. [DisplayName("异动后专业")]
  126. public string AfterStandardName { get; set; }
  127. /// <summary>
  128. /// 异动后班级名称
  129. /// </summary>
  130. [DisplayName("异动后班级")]
  131. public string AfterClassmajorName { get; set; }
  132. /// <summary>
  133. /// 异动后在校状态名称
  134. /// </summary>
  135. [DisplayName("异动后在校状态")]
  136. public string AfterInSchoolStatusName { get; set; }
  137. /// <summary>
  138. /// 异动后学籍状态名称
  139. /// </summary>
  140. [DisplayName("异动后学籍状态")]
  141. public string AfterStudentStatusName { get; set; }
  142. /// <summary>
  143. /// 返校学期
  144. /// </summary>
  145. [DisplayName("返校学期")]
  146. public Guid? ReturnSchoolyearID { get; set; }
  147. /// <summary>
  148. /// 返校学期Code
  149. /// </summary>
  150. [DisplayName("返校学期")]
  151. public string ReturnSchoolyearCode { get; set; }
  152. /// <summary>
  153. /// 申请渠道
  154. /// </summary>
  155. public int? ApplyTypeID { get; set; }
  156. /// <summary>
  157. /// 申请说明
  158. /// </summary>
  159. [DisplayName("申请说明")]
  160. public string ApplyRemark { get; set; }
  161. /// <summary>
  162. /// 异动开始日期
  163. /// </summary>
  164. [DisplayName("异动开始日期")]
  165. public DateTime? BeginTime { get; set; }
  166. /// <summary>
  167. /// 异动结束日期
  168. /// </summary>
  169. [DisplayName("异动结束日期")]
  170. public DateTime? EndTime { get; set; }
  171. /// <summary>
  172. /// 异动来源
  173. /// </summary>
  174. [DisplayName("异动来源")]
  175. public string Source { get; set; }
  176. /// <summary>
  177. /// 异动去向
  178. /// </summary>
  179. [DisplayName("异动去向")]
  180. public string Direction { get; set; }
  181. /// <summary>
  182. /// 审批状态
  183. /// </summary>
  184. [DisplayName("审批状态")]
  185. public int? EntityApprovalStatus { get; set; }
  186. /// <summary>
  187. /// 审批状态名称
  188. /// </summary>
  189. [DisplayName("审批状态")]
  190. public string ApprovalStatusName { get; set; }
  191. ///// <summary>
  192. ///// 状态
  193. ///// </summary>
  194. //[DisplayName("状态")]
  195. //public int? RecordStatus { get; set; }
  196. /// <summary>
  197. /// 创建人
  198. /// </summary>
  199. [DisplayName("创建人")]
  200. public Guid? EntityCreateUserID { get; set; }
  201. /// <summary>
  202. /// 创建人
  203. /// </summary>
  204. [DisplayName("创建人")]
  205. public string CreateUser { get; set; }
  206. /// <summary>
  207. /// 创建时间
  208. /// </summary>
  209. [DisplayName("创建时间")]
  210. public DateTime? EntityCreateTime { get; set; }
  211. ///// <summary>
  212. ///// 修改人
  213. ///// </summary>
  214. //[DisplayName("修改人")]
  215. //public Guid? ModifyUserID { get; set; }
  216. ///// <summary>
  217. ///// 修改时间
  218. ///// </summary>
  219. //[DisplayName("修改时间")]
  220. //public DateTime? ModifyTime { get; set; }
  221. /// <summary>
  222. /// 备注
  223. /// </summary>
  224. [DisplayName("备注")]
  225. public string Remark { get; set; }
  226. public Guid? CollegeID { get; set; }
  227. /// <summary>
  228. /// 报到状态
  229. /// </summary>
  230. [DisplayName("报到状态")]
  231. public int? ReportStatus { get; set; }
  232. private string _reportStatusName;
  233. /// <summary>
  234. /// 报到状态名称
  235. /// </summary>
  236. [DisplayName("报到状态")]
  237. public string ReportStatusName
  238. {
  239. get
  240. {
  241. if (string.IsNullOrEmpty(_reportStatusName))
  242. {
  243. return Bowin.Common.Exceptions.EnumHelper.GetEnumShowName(typeof(CF_ReportStatus), (int)CF_ReportStatus.NotReport);
  244. }
  245. return _reportStatusName;
  246. }
  247. set { _reportStatusName = value; }
  248. }
  249. }
  250. }