MinorGraduationApplyView.cs 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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.MinorGraduation.MinorGraduationManage
  9. {
  10. public class MinorGraduationApplyView
  11. {
  12. /// <summary>
  13. /// 毕业申请ID
  14. /// </summary>
  15. [DisplayName("毕业申请ID")]
  16. public Guid MinorGraduationApplyID { get; set; }
  17. /// <summary>
  18. /// 用户ID
  19. /// </summary>
  20. [Required]
  21. [DisplayName("用户ID")]
  22. public Guid? UserID { get; set; }
  23. /// <summary>
  24. /// 学号
  25. /// </summary>
  26. [DisplayName("学号")]
  27. public string StudentNo { get; set; }
  28. /// <summary>
  29. /// 姓名
  30. /// </summary>
  31. [DisplayName("姓名")]
  32. public string UserName { get; set; }
  33. /// <summary>
  34. /// 性别
  35. /// </summary>
  36. [DisplayName("性别")]
  37. public int? Sex { get; set; }
  38. /// <summary>
  39. /// 性别
  40. /// </summary>
  41. [DisplayName("性别")]
  42. public string SexName
  43. {
  44. get
  45. {
  46. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  47. .Where(x => x.Value == Sex)
  48. .Select(x => x.Name).FirstOrDefault();
  49. }
  50. }
  51. /// <summary>
  52. /// 学生类别
  53. /// </summary>
  54. [Required]
  55. [DisplayName("学生类别")]
  56. public int? StudentTypeID { get; set; }
  57. /// <summary>
  58. /// 学生类别
  59. /// </summary>
  60. [DisplayName("学生类别")]
  61. public string StudentTypeName
  62. {
  63. get
  64. {
  65. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_STUDENTTYPE.ToString())
  66. .Where(x => x.Value == StudentTypeID)
  67. .Select(x => x.Name).FirstOrDefault();
  68. }
  69. }
  70. /// <summary>
  71. /// 辅修班级ID
  72. /// </summary>
  73. [DisplayName("辅修班级ID")]
  74. public Guid ClassminorID { get; set; }
  75. /// <summary>
  76. /// 班级名称
  77. /// </summary>
  78. [Required]
  79. [DisplayName("辅修班级")]
  80. public string ClassminorName { get; set; }
  81. /// <summary>
  82. /// 院系所ID
  83. /// </summary>
  84. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
  85. public Guid? CollegeID { get; set; }
  86. /// <summary>
  87. /// 院系所代码
  88. /// </summary>
  89. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  90. public string CollegeNo { get; set; }
  91. /// <summary>
  92. /// 院系所名称
  93. /// </summary>
  94. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  95. public string CollegeName { get; set; }
  96. /// <summary>
  97. /// 毕业类型
  98. /// </summary>
  99. [Required]
  100. [DisplayName("毕业类型")]
  101. public int? GraduationTypeID { get; set; }
  102. /// <summary>
  103. /// 毕业类型
  104. /// </summary>
  105. [DisplayName("毕业类型")]
  106. public string GraduationTypeName
  107. {
  108. get
  109. {
  110. return IdNameExt.GetDictionaryItem(DictionaryItem.ER_GraduationType.ToString())
  111. .Where(x => x.Value == GraduationTypeID)
  112. .Select(x => x.Name).FirstOrDefault();
  113. }
  114. }
  115. /// <summary>
  116. /// 在校状态
  117. /// </summary>
  118. [Required]
  119. [DisplayName("在校状态")]
  120. public int? InSchoolStatusID { get; set; }
  121. /// <summary>
  122. /// 在校状态
  123. /// </summary>
  124. [DisplayName("在校状态")]
  125. public string InSchoolStatusName
  126. {
  127. get
  128. {
  129. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString())
  130. .Where(x => x.Value == InSchoolStatusID)
  131. .Select(x => x.Name).FirstOrDefault();
  132. }
  133. }
  134. /// <summary>
  135. /// 毕业学期ID(实际的毕业学期)
  136. /// </summary>
  137. [Required]
  138. [DisplayName("毕业学期ID")]
  139. public Guid? GraduatingSemesterID { get; set; }
  140. /// <summary>
  141. /// 毕业学期
  142. /// </summary>
  143. [DisplayName("毕业学期")]
  144. public string GraduatingSemesterCode { get; set; }
  145. /// <summary>
  146. /// 毕业学期Value
  147. /// </summary>
  148. [DisplayName("Value")]
  149. public int? GraduatingSemesterValue { get; set; }
  150. /// <summary>
  151. /// 申请学期ID(毕业申请)
  152. /// </summary>
  153. [Required]
  154. [DisplayName("申请学期ID")]
  155. public Guid? ApplySchoolyearID { get; set; }
  156. /// <summary>
  157. /// 申请学期(毕业申请)
  158. /// </summary>
  159. [DisplayName("申请学期")]
  160. public string ApplySchoolyearCode { get; set; }
  161. /// <summary>
  162. /// 毕业公式ID
  163. /// </summary>
  164. [Required]
  165. [DisplayName("毕业公式ID")]
  166. public Guid? MinorGraduationConditionPackageID { get; set; }
  167. /// <summary>
  168. /// 毕业公式名称
  169. /// </summary>
  170. [DisplayName("毕业公式名称")]
  171. public string Title { get; set; }
  172. /// <summary>
  173. /// 审核状态
  174. /// </summary>
  175. [DisplayName("审核状态")]
  176. public int? ApprovalStatus { get; set; }
  177. /// <summary>
  178. /// 审核状态
  179. /// </summary>
  180. [DisplayName("审核状态")]
  181. public string ApprovalStatusName { get; set; }
  182. /// <summary>
  183. /// 毕业结论
  184. /// </summary>
  185. [Required]
  186. [DisplayName("毕业结论")]
  187. public int? MinorGraduationResult { get; set; }
  188. /// <summary>
  189. /// 毕业结论
  190. /// </summary>
  191. [DisplayName("毕业结论")]
  192. public string MinorGraduationResultName
  193. {
  194. get
  195. {
  196. return IdNameExt.GetDictionaryItem(DictionaryItem.ER_GraduationResult.ToString())
  197. .Where(x => x.Value == MinorGraduationResult)
  198. .Select(x => x.Name).FirstOrDefault();
  199. }
  200. }
  201. /// <summary>
  202. /// 预审结论
  203. /// </summary>
  204. [DisplayName("预审结论")]
  205. public string ApprovalResult { get; set; }
  206. /// <summary>
  207. /// 处理动作
  208. /// </summary>
  209. [Required]
  210. [DisplayName("处理动作")]
  211. public string Action { get; set; }
  212. /// <summary>
  213. /// 处理意见
  214. /// </summary>
  215. [DisplayName("处理意见")]
  216. public string Comment { get; set; }
  217. /// <summary>
  218. /// 状态
  219. /// </summary>
  220. [DisplayName("状态")]
  221. public int? RecordStatus { get; set; }
  222. /// <summary>
  223. /// 备注(学籍异动)
  224. /// </summary>
  225. [DisplayName("备注")]
  226. public string Remark { get; set; }
  227. /// <summary>
  228. /// 创建人ID
  229. /// </summary>
  230. [DisplayName("创建人ID")]
  231. public Guid? CreateUserID { get; set; }
  232. /// <summary>
  233. /// 创建时间
  234. /// </summary>
  235. [DisplayName("创建时间")]
  236. public DateTime? CreateTime { get; set; }
  237. /// <summary>
  238. /// 修改人ID
  239. /// </summary>
  240. [DisplayName("修改人ID")]
  241. public Guid? ModifyUserID { get; set; }
  242. /// <summary>
  243. /// 修改时间
  244. /// </summary>
  245. [DisplayName("修改时间")]
  246. public DateTime? ModifyTime { get; set; }
  247. }
  248. }