StudentChangeView.cs 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.StudentManage.StudentChange
  9. {
  10. public class StudentChangeView
  11. {
  12. /// <summary>
  13. /// 主键ID
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid StudentChangeID { 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 Name { get; set; }
  33. /// <summary>
  34. /// 性别
  35. /// </summary>
  36. [DisplayName("性别")]
  37. public int? SexID { 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()).Where(x => x.Value == SexID).Select(x => x.Name).FirstOrDefault();
  47. }
  48. }
  49. /// <summary>
  50. /// 出生日期
  51. /// </summary>
  52. [DisplayName("出生日期")]
  53. [DataType(DataType.Date)]
  54. public DateTime? BirthDate { get; set; }
  55. /// <summary>
  56. /// 民族
  57. /// </summary>
  58. [DisplayName("民族")]
  59. public int? NationID { get; set; }
  60. /// <summary>
  61. /// 民族
  62. /// </summary>
  63. [DisplayName("民族")]
  64. public string NationName
  65. {
  66. get
  67. {
  68. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Nation.ToString()).Where(x => x.Value == NationID).Select(x => x.Name).FirstOrDefault();
  69. }
  70. }
  71. /// <summary>
  72. /// 政治面貌
  73. /// </summary>
  74. [DisplayName("政治面貌")]
  75. public int? PoliticsID { get; set; }
  76. /// <summary>
  77. /// 政治面貌
  78. /// </summary>
  79. [DisplayName("政治面貌")]
  80. public string PoliticsName
  81. {
  82. get
  83. {
  84. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString()).Where(x => x.Value == PoliticsID).Select(x => x.Name).FirstOrDefault();
  85. }
  86. }
  87. /// <summary>
  88. /// 在校状态
  89. /// </summary>
  90. [DisplayName("在校状态")]
  91. public int? InSchoolStatusID { get; set; }
  92. /// <summary>
  93. /// 在校状态
  94. /// </summary>
  95. [DisplayName("在校状态")]
  96. public string InSchoolStatusName
  97. {
  98. get
  99. {
  100. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == InSchoolStatusID).Select(x => x.Name).FirstOrDefault();
  101. }
  102. }
  103. /// <summary>
  104. /// 学籍状态
  105. /// </summary>
  106. [DisplayName("学籍状态")]
  107. public int? StudentStatus { get; set; }
  108. /// <summary>
  109. /// 学籍状态
  110. /// </summary>
  111. [DisplayName("学籍状态")]
  112. public string StudentStatusName
  113. {
  114. get
  115. {
  116. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
  117. }
  118. }
  119. /// <summary>
  120. /// 年级
  121. /// </summary>
  122. [DisplayName("年级")]
  123. public int? GradeID { get; set; }
  124. /// <summary>
  125. /// 年级
  126. /// </summary>
  127. [DisplayName("年级")]
  128. public string GradeName
  129. {
  130. get
  131. {
  132. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeID).Select(x => x.Name).FirstOrDefault();
  133. }
  134. }
  135. /// <summary>
  136. /// 入学学期
  137. /// </summary>
  138. [DisplayName("入学学期")]
  139. public int? SemesterID { get; set; }
  140. /// <summary>
  141. /// 入学学期
  142. /// </summary>
  143. [DisplayName("入学学期")]
  144. public string SemesterName
  145. {
  146. get
  147. {
  148. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Semester.ToString()).Where(x => x.Value == SemesterID).Select(x => x.Name).FirstOrDefault();
  149. }
  150. }
  151. /// <summary>
  152. /// 专业ID(Value)
  153. /// </summary>
  154. [DisplayName("专业ID(Value)")]
  155. public int? StandardID { get; set; }
  156. /// <summary>
  157. /// 专业代码
  158. /// </summary>
  159. [DisplayName("专业代码")]
  160. public string StandardCode
  161. {
  162. get
  163. {
  164. var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Code).FirstOrDefault();
  165. return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
  166. }
  167. }
  168. /// <summary>
  169. /// 专业名称
  170. /// </summary>
  171. [DisplayName("专业名称")]
  172. public string StandardName
  173. {
  174. get
  175. {
  176. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Name).FirstOrDefault();
  177. }
  178. }
  179. /// <summary>
  180. /// 培养层次
  181. /// </summary>
  182. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
  183. public int? EducationID { get; set; }
  184. /// <summary>
  185. /// 培养层次
  186. /// </summary>
  187. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
  188. public string EducationName
  189. {
  190. get
  191. {
  192. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == EducationID).Select(x => x.Name).FirstOrDefault();
  193. }
  194. }
  195. /// <summary>
  196. /// 学习形式
  197. /// </summary>
  198. [DisplayName("学习形式")]
  199. public int? LearningformID { get; set; }
  200. /// <summary>
  201. /// 学习形式
  202. /// </summary>
  203. [DisplayName("学习形式")]
  204. public string LearningformName
  205. {
  206. get
  207. {
  208. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == LearningformID).Select(x => x.Name).FirstOrDefault();
  209. }
  210. }
  211. /// <summary>
  212. /// 学制
  213. /// </summary>
  214. [DisplayName("学制")]
  215. public decimal? LearnSystem { get; set; }
  216. /// <summary>
  217. /// 班序
  218. /// </summary>
  219. [DisplayName("班序")]
  220. public int? ClassNum { get; set; }
  221. /// <summary>
  222. /// 班级信息ID
  223. /// </summary>
  224. [DisplayName("班级信息ID")]
  225. public Guid? ClassmajorID { get; set; }
  226. /// <summary>
  227. /// 班级编号
  228. /// </summary>
  229. [DisplayName("班级编号")]
  230. public string ClassmajorNo { get; set; }
  231. /// <summary>
  232. /// 班级名称
  233. /// </summary>
  234. [DisplayName("班级名称")]
  235. public string ClassmajorName { get; set; }
  236. /// <summary>
  237. /// 年级专业ID
  238. /// </summary>
  239. [DisplayName("年级专业ID")]
  240. public Guid? GrademajorID { get; set; }
  241. /// <summary>
  242. /// 年级专业编号
  243. /// </summary>
  244. [DisplayName("年级专业编号")]
  245. public string GrademajorCode { get; set; }
  246. /// <summary>
  247. /// 年级专业名称
  248. /// </summary>
  249. [DisplayName("年级专业名称")]
  250. public string GrademajorName { get; set; }
  251. /// <summary>
  252. /// 院系专业ID
  253. /// </summary>
  254. [DisplayName("院系专业ID")]
  255. public Guid? FacultymajorID { get; set; }
  256. /// <summary>
  257. /// 院系专业编号
  258. /// </summary>
  259. [DisplayName("院系专业编号")]
  260. public string FacultymajorCode { get; set; }
  261. /// <summary>
  262. /// 院系专业名称
  263. /// </summary>
  264. [DisplayName("院系专业名称")]
  265. public string FacultymajorName { get; set; }
  266. /// <summary>
  267. /// 院系所ID
  268. /// </summary>
  269. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  270. public Guid? CollegeID { get; set; }
  271. /// <summary>
  272. /// 院系所代码
  273. /// </summary>
  274. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  275. public string CollegeNo { get; set; }
  276. /// <summary>
  277. /// 院系所
  278. /// </summary>
  279. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  280. public string CollegeName { get; set; }
  281. /// <summary>
  282. /// 校区ID
  283. /// </summary>
  284. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
  285. public Guid? CampusID { get; set; }
  286. /// <summary>
  287. /// 校区代码
  288. /// </summary>
  289. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
  290. public string CampusCode { get; set; }
  291. /// <summary>
  292. /// 校区名称
  293. /// </summary>
  294. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
  295. public string CampusName { get; set; }
  296. /// <summary>
  297. /// 入学学年学期ID
  298. /// </summary>
  299. [DisplayName("入学学年学期ID")]
  300. public Guid? StartSchoolyearID { get; set; }
  301. /// <summary>
  302. /// 入学学年学期对应的Value值
  303. /// </summary>
  304. [DisplayName("StartSchoolyearValue")]
  305. public int? StartSchoolyearValue { get; set; }
  306. /// <summary>
  307. /// 入学学年学期
  308. /// </summary>
  309. [DisplayName("入学学年学期")]
  310. public string StartSchoolyearCode { get; set; }
  311. /// <summary>
  312. /// 异动学期ID
  313. /// </summary>
  314. [Required]
  315. [DisplayName("异动学期ID")]
  316. public Guid? SchoolyearID { get; set; }
  317. /// <summary>
  318. /// 异动学期对应的Value值
  319. /// </summary>
  320. [DisplayName("SchoolyearValue")]
  321. public int? SchoolyearValue { get; set; }
  322. /// <summary>
  323. /// 异动学期
  324. /// </summary>
  325. [DisplayName("异动学期")]
  326. public string SchoolyearCode { get; set; }
  327. /// <summary>
  328. /// 毕业学期
  329. /// </summary>
  330. [DisplayName("毕业学期")]
  331. public Guid? GraduateSchoolyearID { get; set; }
  332. /// <summary>
  333. /// 毕业学期Value
  334. /// </summary>
  335. [DisplayName("GraduateSchoolyearValue")]
  336. public int? GraduateSchoolyearValue { get; set; }
  337. /// <summary>
  338. /// 毕业学期
  339. /// </summary>
  340. [DisplayName("毕业学期")]
  341. public string GraduateSchoolyearCode { get; set; }
  342. /// <summary>
  343. /// 注册状态
  344. /// </summary>
  345. [DisplayName("注册状态")]
  346. public int? ReportStatus { get; set; }
  347. /// <summary>
  348. /// 注册状态
  349. /// </summary>
  350. [DisplayName("注册状态")]
  351. public string ReportStatusName
  352. {
  353. get
  354. {
  355. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ReportStatus.ToString()).Where(x => x.Value == ReportStatus).Select(x => x.Name).FirstOrDefault();
  356. }
  357. }
  358. /// <summary>
  359. /// 异动类型
  360. /// </summary>
  361. [Required]
  362. [DisplayName("异动类型")]
  363. public int? ChangeTypeID { get; set; }
  364. /// <summary>
  365. /// 异动类型
  366. /// </summary>
  367. [DisplayName("异动类型")]
  368. public string ChangeTypeName
  369. {
  370. get
  371. {
  372. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ChangeType.ToString()).Where(x => x.Value == ChangeTypeID).Select(x => x.Name).FirstOrDefault();
  373. }
  374. }
  375. /// <summary>
  376. /// 院系所ID(异动前)
  377. /// </summary>
  378. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  379. public Guid? BeforeCollegeID { get; set; }
  380. /// <summary>
  381. /// 院系所代码(异动前)
  382. /// </summary>
  383. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  384. public string BeforeCollegeNo { get; set; }
  385. /// <summary>
  386. /// 院系所(异动前)
  387. /// </summary>
  388. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  389. public string BeforeCollegeName { get; set; }
  390. /// <summary>
  391. /// 年级(异动前)
  392. /// </summary>
  393. [DisplayName("年级(异动前)")]
  394. public int? BeforeGradeID { get; set; }
  395. /// <summary>
  396. /// 年级(异动前)
  397. /// </summary>
  398. [DisplayName("年级")]
  399. public string BeforeGradeName
  400. {
  401. get
  402. {
  403. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == BeforeGradeID).Select(x => x.Name).FirstOrDefault();
  404. }
  405. }
  406. /// <summary>
  407. /// 专业ID(Value异动前)
  408. /// </summary>
  409. [DisplayName("专业ID")]
  410. public int? BeforeStandardID { get; set; }
  411. /// <summary>
  412. /// 专业代码(异动前)
  413. /// </summary>
  414. [DisplayName("专业代码")]
  415. public string BeforeStandardCode
  416. {
  417. get
  418. {
  419. var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == BeforeStandardID).Select(x => x.Code).FirstOrDefault();
  420. return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
  421. }
  422. }
  423. /// <summary>
  424. /// 专业名称(异动前)
  425. /// </summary>
  426. [DisplayName("专业名称")]
  427. public string BeforeStandardName
  428. {
  429. get
  430. {
  431. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == BeforeStandardID).Select(x => x.Name).FirstOrDefault();
  432. }
  433. }
  434. /// <summary>
  435. /// 培养层次(异动前)
  436. /// </summary>
  437. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
  438. public int? BeforeEducationID { get; set; }
  439. /// <summary>
  440. /// 培养层次(异动前)
  441. /// </summary>
  442. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
  443. public string BeforeEducationName
  444. {
  445. get
  446. {
  447. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == BeforeEducationID).Select(x => x.Name).FirstOrDefault();
  448. }
  449. }
  450. /// <summary>
  451. /// 学习形式(异动前)
  452. /// </summary>
  453. [DisplayName("学习形式")]
  454. public int? BeforeLearningformID { get; set; }
  455. /// <summary>
  456. /// 学习形式(异动前)
  457. /// </summary>
  458. [DisplayName("学习形式")]
  459. public string BeforeLearningformName
  460. {
  461. get
  462. {
  463. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == BeforeLearningformID).Select(x => x.Name).FirstOrDefault();
  464. }
  465. }
  466. /// <summary>
  467. /// 学制(异动前)
  468. /// </summary>
  469. [DisplayName("学制")]
  470. public decimal? BeforeLearnSystem { get; set; }
  471. /// <summary>
  472. /// 班级信息ID(异动前)
  473. /// </summary>
  474. [Required]
  475. [DisplayName("班级信息ID")]
  476. public Guid? BeforeClassmajorID { get; set; }
  477. /// <summary>
  478. /// 班级编号(异动前)
  479. /// </summary>
  480. [DisplayName("班级编号")]
  481. public string BeforeClassmajorNo { get; set; }
  482. /// <summary>
  483. /// 班级名称(异动前)
  484. /// </summary>
  485. [DisplayName("班级名称")]
  486. public string BeforeClassmajorName { get; set; }
  487. /// <summary>
  488. /// 在校状态(异动前)
  489. /// </summary>
  490. [Required]
  491. [DisplayName("在校状态")]
  492. public int? BeforeInSchoolStatusID { get; set; }
  493. /// <summary>
  494. /// 在校状态(异动前)
  495. /// </summary>
  496. [DisplayName("在校状态")]
  497. public string BeforeInSchoolStatusName
  498. {
  499. get
  500. {
  501. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == BeforeInSchoolStatusID).Select(x => x.Name).FirstOrDefault();
  502. }
  503. }
  504. /// <summary>
  505. /// 学籍状态(异动前)
  506. /// </summary>
  507. [Required]
  508. [DisplayName("学籍状态")]
  509. public int? BeforeStudentStatus { get; set; }
  510. /// <summary>
  511. /// 学籍状态(异动前)
  512. /// </summary>
  513. [DisplayName("学籍状态")]
  514. public string BeforeStudentStatusName
  515. {
  516. get
  517. {
  518. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == BeforeStudentStatus).Select(x => x.Name).FirstOrDefault();
  519. }
  520. }
  521. /// <summary>
  522. /// 院系所ID(异动后)
  523. /// </summary>
  524. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  525. public Guid? AfterCollegeID { get; set; }
  526. /// <summary>
  527. /// 院系所代码(异动后)
  528. /// </summary>
  529. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  530. public string AfterCollegeNo { get; set; }
  531. /// <summary>
  532. /// 院系所(异动后)
  533. /// </summary>
  534. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  535. public string AfterCollegeName { get; set; }
  536. /// <summary>
  537. /// 年级(异动后)
  538. /// </summary>
  539. [DisplayName("年级")]
  540. public int? AfterGradeID { get; set; }
  541. /// <summary>
  542. /// 年级(异动后)
  543. /// </summary>
  544. [DisplayName("年级")]
  545. public string AfterGradeName
  546. {
  547. get
  548. {
  549. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == AfterGradeID).Select(x => x.Name).FirstOrDefault();
  550. }
  551. }
  552. /// <summary>
  553. /// 专业ID(Value异动后)
  554. /// </summary>
  555. [DisplayName("专业ID")]
  556. public int? AfterStandardID { get; set; }
  557. /// <summary>
  558. /// 专业代码(异动后)
  559. /// </summary>
  560. [DisplayName("专业代码")]
  561. public string AfterStandardCode
  562. {
  563. get
  564. {
  565. var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == AfterStandardID).Select(x => x.Code).FirstOrDefault();
  566. return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
  567. }
  568. }
  569. /// <summary>
  570. /// 专业名称(异动后)
  571. /// </summary>
  572. [DisplayName("专业名称")]
  573. public string AfterStandardName
  574. {
  575. get
  576. {
  577. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == AfterStandardID).Select(x => x.Name).FirstOrDefault();
  578. }
  579. }
  580. /// <summary>
  581. /// 培养层次(异动后)
  582. /// </summary>
  583. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
  584. public int? AfterEducationID { get; set; }
  585. /// <summary>
  586. /// 培养层次(异动后)
  587. /// </summary>
  588. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
  589. public string AfterEducationName
  590. {
  591. get
  592. {
  593. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == AfterEducationID).Select(x => x.Name).FirstOrDefault();
  594. }
  595. }
  596. /// <summary>
  597. /// 学习形式(异动后)
  598. /// </summary>
  599. [DisplayName("学习形式")]
  600. public int? AfterLearningformID { get; set; }
  601. /// <summary>
  602. /// 学习形式(异动后)
  603. /// </summary>
  604. [DisplayName("学习形式")]
  605. public string AfterLearningformName
  606. {
  607. get
  608. {
  609. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == AfterLearningformID).Select(x => x.Name).FirstOrDefault();
  610. }
  611. }
  612. /// <summary>
  613. /// 学制(异动后)
  614. /// </summary>
  615. [DisplayName("学制")]
  616. public decimal? AfterLearnSystem { get; set; }
  617. /// <summary>
  618. /// 班级信息ID(异动后)
  619. /// </summary>
  620. [Required]
  621. [DisplayName("班级信息ID")]
  622. public Guid? AfterClassmajorID { get; set; }
  623. /// <summary>
  624. /// 班级编号(异动后)
  625. /// </summary>
  626. [DisplayName("班级编号")]
  627. public string AfterClassmajorNo { get; set; }
  628. /// <summary>
  629. /// 班级名称(异动后)
  630. /// </summary>
  631. [DisplayName("班级名称")]
  632. public string AfterClassmajorName { get; set; }
  633. /// <summary>
  634. /// 在校状态(异动后)
  635. /// </summary>
  636. [Required]
  637. [DisplayName("在校状态")]
  638. public int? AfterInSchoolStatusID { get; set; }
  639. /// <summary>
  640. /// 在校状态(异动后)
  641. /// </summary>
  642. [DisplayName("在校状态")]
  643. public string AfterInSchoolStatusName
  644. {
  645. get
  646. {
  647. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == AfterInSchoolStatusID).Select(x => x.Name).FirstOrDefault();
  648. }
  649. }
  650. /// <summary>
  651. /// 学籍状态(异动后)
  652. /// </summary>
  653. [Required]
  654. [DisplayName("学籍状态")]
  655. public int? AfterStudentStatus { get; set; }
  656. /// <summary>
  657. /// 学籍状态(异动后)
  658. /// </summary>
  659. [DisplayName("学籍状态")]
  660. public string AfterStudentStatusName
  661. {
  662. get
  663. {
  664. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == AfterStudentStatus).Select(x => x.Name).FirstOrDefault();
  665. }
  666. }
  667. /// <summary>
  668. /// 返校学期ID
  669. /// </summary>
  670. [DisplayName("返校学期ID")]
  671. public Guid? ReturnSchoolyearID { get; set; }
  672. /// <summary>
  673. /// 返校学期对应的Value值
  674. /// </summary>
  675. [DisplayName("StartSchoolyearValue")]
  676. public int? ReturnSchoolyearValue { get; set; }
  677. /// <summary>
  678. /// 返校学期
  679. /// </summary>
  680. [DisplayName("返校学期")]
  681. public string ReturnSchoolyearCode { get; set; }
  682. /// <summary>
  683. /// 异动渠道
  684. /// </summary>
  685. [Required]
  686. [DisplayName("异动渠道")]
  687. public int? ChangeApplyTypeID { get; set; }
  688. /// <summary>
  689. /// 异动渠道
  690. /// </summary>
  691. [DisplayName("异动渠道")]
  692. public string ChangeApplyTypeName
  693. {
  694. get
  695. {
  696. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ChangeApplyType.ToString()).Where(x => x.Value == ChangeApplyTypeID).Select(x => x.Name).FirstOrDefault();
  697. }
  698. }
  699. /// <summary>
  700. /// 异动原因
  701. /// </summary>
  702. [Required]
  703. [DisplayName("异动原因")]
  704. public int? ChangeReasonID { get; set; }
  705. /// <summary>
  706. /// 异动原因
  707. /// </summary>
  708. [DisplayName("异动原因")]
  709. public string ChangeReasonName
  710. {
  711. get
  712. {
  713. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ChangeReason.ToString()).Where(x => x.Value == ChangeReasonID).Select(x => x.Name).FirstOrDefault();
  714. }
  715. }
  716. /// <summary>
  717. /// 异动日期
  718. /// </summary>
  719. [Required]
  720. [DisplayName("异动日期")]
  721. public DateTime? ChangeDate { get; set; }
  722. /// <summary>
  723. /// 申请说明
  724. /// </summary>
  725. [Required]
  726. [DisplayName("申请说明")]
  727. public string Description { get; set; }
  728. /// <summary>
  729. /// 审核状态
  730. /// </summary>
  731. [DisplayName("审核状态")]
  732. public int? ApprovalStatus { get; set; }
  733. /// <summary>
  734. /// 审核状态
  735. /// </summary>
  736. [DisplayName("审核状态")]
  737. public string ApprovalStatusName { get; set; }
  738. /// <summary>
  739. /// 处理动作
  740. /// </summary>
  741. [Required]
  742. [DisplayName("处理动作")]
  743. public string Action { get; set; }
  744. /// <summary>
  745. /// 处理意见
  746. /// </summary>
  747. [DisplayName("处理意见")]
  748. public string Comment { get; set; }
  749. /// <summary>
  750. /// 备注
  751. /// </summary>
  752. [DisplayName("备注")]
  753. public string Remark { get; set; }
  754. /// <summary>
  755. /// 状态
  756. /// </summary>
  757. [DisplayName("状态")]
  758. public int? RecordStatus { get; set; }
  759. /// <summary>
  760. /// 创建人
  761. /// </summary>
  762. [DisplayName("创建人")]
  763. public Guid? CreateUserID { get; set; }
  764. /// <summary>
  765. /// 申请人
  766. /// </summary>
  767. [DisplayName("申请人")]
  768. public string CreateUserName { get; set; }
  769. /// <summary>
  770. /// 创建时间
  771. /// </summary>
  772. [DisplayName("创建时间")]
  773. public DateTime? CreateTime { get; set; }
  774. /// <summary>
  775. /// 修改人
  776. /// </summary>
  777. [DisplayName("修改人")]
  778. public Guid? ModifyUserID { get; set; }
  779. /// <summary>
  780. /// 修改时间
  781. /// </summary>
  782. [DisplayName("修改时间")]
  783. public DateTime? ModifyTime { get; set; }
  784. }
  785. }