CheckingContrastView.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934
  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. using EMIS.ViewModel.StudentManage.StudentProfile;
  9. namespace EMIS.ViewModel.StudentManage.OnlineChecking
  10. {
  11. public class CheckingContrastView
  12. {
  13. /// <summary>
  14. /// 主键ID
  15. /// </summary>
  16. [DisplayName("主键ID")]
  17. public Guid StudentContrastID { get; set; }
  18. /// <summary>
  19. /// 用户信息ID
  20. /// </summary>
  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 LoginID { get; set; }
  33. /// <summary>
  34. /// 考生号
  35. /// </summary>
  36. [DisplayName("考生号")]
  37. public string ExamineeNum { get; set; }
  38. /// <summary>
  39. /// 准考证号
  40. /// </summary>
  41. [DisplayName("准考证号")]
  42. public string AdmissionTicketNo { get; set; }
  43. /// <summary>
  44. /// 姓名
  45. /// </summary>
  46. [DisplayName("姓名")]
  47. public string Name { get; set; }
  48. /// <summary>
  49. /// 姓名
  50. /// </summary>
  51. [DisplayName("姓名")]
  52. public string UserName { get; set; }
  53. /// <summary>
  54. /// 曾用名
  55. /// </summary>
  56. [DisplayName("曾用名")]
  57. public string UsedName { get; set; }
  58. /// <summary>
  59. /// 班级信息ID
  60. /// </summary>
  61. [DisplayName("班级信息ID")]
  62. public Guid? ClassmajorID { get; set; }
  63. /// <summary>
  64. /// 班级编号
  65. /// </summary>
  66. [DisplayName("班级编号")]
  67. public string ClassmajorNo { get; set; }
  68. /// <summary>
  69. /// 班级名称
  70. /// </summary>
  71. [DisplayName("班级名称")]
  72. public string ClassmajorName { get; set; }
  73. /// <summary>
  74. /// 班序
  75. /// </summary>
  76. [DisplayName("班序")]
  77. public int? ClassNum { get; set; }
  78. /// <summary>
  79. /// 专业ID(Value)
  80. /// </summary>
  81. [DisplayName("专业ID(Value)")]
  82. public int? StandardID { get; set; }
  83. /// <summary>
  84. /// 专业代码
  85. /// </summary>
  86. [DisplayName("专业代码")]
  87. public string StandardCode
  88. {
  89. get
  90. {
  91. var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Code).FirstOrDefault();
  92. return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
  93. }
  94. }
  95. /// <summary>
  96. /// 专业名称
  97. /// </summary>
  98. [DisplayName("专业名称")]
  99. public string StandardName
  100. {
  101. get
  102. {
  103. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Name).FirstOrDefault();
  104. }
  105. }
  106. /// <summary>
  107. /// 培养层次
  108. /// </summary>
  109. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
  110. public int? EducationID { get; set; }
  111. /// <summary>
  112. /// 培养层次
  113. /// </summary>
  114. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
  115. public string EducationName
  116. {
  117. get
  118. {
  119. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == EducationID).Select(x => x.Name).FirstOrDefault();
  120. }
  121. }
  122. /// <summary>
  123. /// 学习形式
  124. /// </summary>
  125. [DisplayName("学习形式")]
  126. public int? LearningformID { get; set; }
  127. /// <summary>
  128. /// 学习形式
  129. /// </summary>
  130. [DisplayName("学习形式")]
  131. public string LearningformName
  132. {
  133. get
  134. {
  135. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == LearningformID).Select(x => x.Name).FirstOrDefault();
  136. }
  137. }
  138. /// <summary>
  139. /// 学制
  140. /// </summary>
  141. [DisplayName("学制")]
  142. public decimal? LearnSystem { get; set; }
  143. /// <summary>
  144. /// 院系专业ID
  145. /// </summary>
  146. [DisplayName("院系专业ID")]
  147. public Guid? FacultymajorID { get; set; }
  148. /// <summary>
  149. /// 院系专业编号
  150. /// </summary>
  151. [DisplayName("院系专业编号")]
  152. public string FacultymajorCode { get; set; }
  153. /// <summary>
  154. /// 院系专业名称
  155. /// </summary>
  156. [DisplayName("院系专业名称")]
  157. public string FacultymajorName { get; set; }
  158. /// <summary>
  159. /// 年级
  160. /// </summary>
  161. [DisplayName("年级")]
  162. public int? GradeID { get; set; }
  163. /// <summary>
  164. /// 年级
  165. /// </summary>
  166. [DisplayName("年级")]
  167. public string GradeName
  168. {
  169. get
  170. {
  171. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeID).Select(x => x.Name).FirstOrDefault();
  172. }
  173. }
  174. /// <summary>
  175. /// 入学学期
  176. /// </summary>
  177. [DisplayName("入学学期")]
  178. public int? SemesterID { get; set; }
  179. /// <summary>
  180. /// 入学学期
  181. /// </summary>
  182. [DisplayName("入学学期")]
  183. public string SemesterName
  184. {
  185. get
  186. {
  187. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Semester.ToString()).Where(x => x.Value == SemesterID).Select(x => x.Name).FirstOrDefault();
  188. }
  189. }
  190. /// <summary>
  191. /// 入学学年学期ID
  192. /// </summary>
  193. [DisplayName("入学学年学期ID")]
  194. public Guid? StartSchoolyearID { get; set; }
  195. /// <summary>
  196. /// 入学学年学期对应的Value值
  197. /// </summary>
  198. [DisplayName("StartSchoolyearValue")]
  199. public int? StartSchoolyearValue { get; set; }
  200. /// <summary>
  201. /// 入学学年学期
  202. /// </summary>
  203. [DisplayName("入学学年学期")]
  204. public string StartSchoolyearCode { get; set; }
  205. /// <summary>
  206. /// 年级专业ID
  207. /// </summary>
  208. [DisplayName("年级专业ID")]
  209. public Guid? GrademajorID { get; set; }
  210. /// <summary>
  211. /// 年级专业编号
  212. /// </summary>
  213. [DisplayName("年级专业编号")]
  214. public string GrademajorCode { get; set; }
  215. /// <summary>
  216. /// 年级专业名称
  217. /// </summary>
  218. [DisplayName("年级专业名称")]
  219. public string GrademajorName { get; set; }
  220. // <summary>
  221. /// 毕业学期
  222. /// </summary>
  223. [DisplayName("毕业学期")]
  224. public Guid? GraduateSchoolyearID { get; set; }
  225. /// <summary>
  226. /// 毕业学期Value
  227. /// </summary>
  228. [DisplayName("GraduateSchoolyearValue")]
  229. public int? GraduateSchoolyearValue { get; set; }
  230. /// <summary>
  231. /// 毕业学期
  232. /// </summary>
  233. [DisplayName("毕业学期")]
  234. public string GraduateSchoolyearCode { get; set; }
  235. /// <summary>
  236. /// 院系所ID
  237. /// </summary>
  238. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  239. public Guid? CollegeID { get; set; }
  240. /// <summary>
  241. /// 院系所代码
  242. /// </summary>
  243. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")]
  244. public string CollegeNo { get; set; }
  245. /// <summary>
  246. /// 院系所
  247. /// </summary>
  248. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  249. public string CollegeName { get; set; }
  250. /// <summary>
  251. /// 校区ID
  252. /// </summary>
  253. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
  254. public Guid? CampusID { get; set; }
  255. /// <summary>
  256. /// 校区代码
  257. /// </summary>
  258. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
  259. public string CampusCode { get; set; }
  260. /// <summary>
  261. /// 校区名称
  262. /// </summary>
  263. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
  264. public string CampusName { get; set; }
  265. /// <summary>
  266. /// 国籍
  267. /// </summary>
  268. [DisplayName("国籍")]
  269. public string Country { get; set; }
  270. /// <summary>
  271. /// 籍贯
  272. /// </summary>
  273. [DisplayName("籍贯")]
  274. public string Place { get; set; }
  275. /// <summary>
  276. /// 出生地
  277. /// </summary>
  278. [DisplayName("出生地")]
  279. public string BornPlace { get; set; }
  280. /// <summary>
  281. /// 性别
  282. /// </summary>
  283. [Required]
  284. [DisplayName("性别")]
  285. public int? SexID { get; set; }
  286. /// <summary>
  287. /// 性别
  288. /// </summary>
  289. [DisplayName("性别")]
  290. public string SexName
  291. {
  292. get
  293. {
  294. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString()).Where(x => x.Value == SexID).Select(x => x.Name).FirstOrDefault();
  295. }
  296. }
  297. /// <summary>
  298. /// 出生日期
  299. /// </summary>
  300. [Required]
  301. [DisplayName("出生日期")]
  302. [DataType(DataType.Date)]
  303. [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
  304. public DateTime? BirthDate { get; set; }
  305. /// <summary>
  306. /// 民族
  307. /// </summary>
  308. [Required]
  309. [DisplayName("民族")]
  310. public int? NationID { get; set; }
  311. /// <summary>
  312. /// 民族
  313. /// </summary>
  314. [DisplayName("民族")]
  315. public string NationName
  316. {
  317. get
  318. {
  319. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Nation.ToString()).Where(x => x.Value == NationID).Select(x => x.Name).FirstOrDefault();
  320. }
  321. }
  322. /// <summary>
  323. /// 政治面貌
  324. /// </summary>
  325. [Required]
  326. [DisplayName("政治面貌")]
  327. public int? PoliticsID { get; set; }
  328. /// <summary>
  329. /// 政治面貌
  330. /// </summary>
  331. [DisplayName("政治面貌")]
  332. public string PoliticsName
  333. {
  334. get
  335. {
  336. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString()).Where(x => x.Value == PoliticsID).Select(x => x.Name).FirstOrDefault();
  337. }
  338. }
  339. /// <summary>
  340. /// 证件类型
  341. /// </summary>
  342. [Required]
  343. [DisplayName("证件类型")]
  344. public int? CertificatesType { get; set; }
  345. /// <summary>
  346. /// 证件类型
  347. /// </summary>
  348. [DisplayName("证件类型")]
  349. public string CertificatesTypeName
  350. {
  351. get
  352. {
  353. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString()).Where(x => x.Value == CertificatesType).Select(x => x.Name).FirstOrDefault();
  354. }
  355. }
  356. /// <summary>
  357. /// 证件号码
  358. /// </summary>
  359. [Required]
  360. [DisplayName("证件号码")]
  361. [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "请输入正确的证件号码格式")]
  362. public string IDNumber { get; set; }
  363. /// <summary>
  364. /// 学生类别
  365. /// </summary>
  366. [Required]
  367. [DisplayName("学生类别")]
  368. public int? StudentType { get; set; }
  369. /// <summary>
  370. /// 学生类别
  371. /// </summary>
  372. [DisplayName("学生类别")]
  373. public string StudentTypeName
  374. {
  375. get
  376. {
  377. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_STUDENTTYPE.ToString()).Where(x => x.Value == StudentType).Select(x => x.Name).FirstOrDefault();
  378. }
  379. }
  380. /// <summary>
  381. /// 在校状态
  382. /// </summary>
  383. [Required]
  384. [DisplayName("在校状态")]
  385. public int? InSchoolStatusID { get; set; }
  386. /// <summary>
  387. /// 在校状态
  388. /// </summary>
  389. [DisplayName("在校状态")]
  390. public string InSchoolStatusName
  391. {
  392. get
  393. {
  394. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == InSchoolStatusID).Select(x => x.Name).FirstOrDefault();
  395. }
  396. }
  397. /// <summary>
  398. /// 学籍状态
  399. /// </summary>
  400. [Required]
  401. [DisplayName("学籍状态")]
  402. public int? StudentStatus { get; set; }
  403. /// <summary>
  404. /// 学籍状态
  405. /// </summary>
  406. [DisplayName("学籍状态")]
  407. public string StudentStatusName
  408. {
  409. get
  410. {
  411. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
  412. }
  413. }
  414. /// <summary>
  415. /// 考生类别
  416. /// </summary>
  417. [DisplayName("考生类别")]
  418. public int? ExamineeType { get; set; }
  419. /// <summary>
  420. /// 考生类别
  421. /// </summary>
  422. [DisplayName("考生类别")]
  423. public string ExamineeTypeName
  424. {
  425. get
  426. {
  427. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_EXAMINEETYPE.ToString()).Where(x => x.Value == ExamineeType).Select(x => x.Name).FirstOrDefault();
  428. }
  429. }
  430. /// <summary>
  431. /// 入学日期
  432. /// </summary>
  433. [DisplayName("入学日期")]
  434. public DateTime? EntranceDate { get; set; }
  435. /// <summary>
  436. /// 文化程度
  437. /// </summary>
  438. [DisplayName("文化程度")]
  439. public int? LiteracyLevelID { get; set; }
  440. /// <summary>
  441. /// 文化程度
  442. /// </summary>
  443. [DisplayName("文化程度")]
  444. public string LiteracyLevelName
  445. {
  446. get
  447. {
  448. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_LiteracyLevel.ToString()).Where(x => x.Value == LiteracyLevelID).Select(x => x.Name).FirstOrDefault();
  449. }
  450. }
  451. /// <summary>
  452. /// 培养方式
  453. /// </summary>
  454. [DisplayName("培养方式")]
  455. public int? CultureModelID { get; set; }
  456. /// <summary>
  457. /// 培养方式
  458. /// </summary>
  459. [DisplayName("培养方式")]
  460. public string CultureModelName
  461. {
  462. get
  463. {
  464. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CULTUREMODEL.ToString()).Where(x => x.Value == CultureModelID).Select(x => x.Name).FirstOrDefault();
  465. }
  466. }
  467. /// <summary>
  468. /// 圆梦计划
  469. /// </summary>
  470. [DisplayName("圆梦计划")]
  471. public bool IsDreamProject { get; set; }
  472. /// <summary>
  473. /// 圆梦计划
  474. /// </summary>
  475. [DisplayName("圆梦计划")]
  476. public string IsDreamProjectName
  477. {
  478. get { return this.IsDreamProject != true ? "否" : "是"; }
  479. }
  480. /// <summary>
  481. /// 电子邮箱
  482. /// </summary>
  483. [DisplayName("电子邮箱")]
  484. [RegularExpression(@"^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$", ErrorMessage = "请输入正确的格式")]
  485. public string Email { get; set; }
  486. /// <summary>
  487. /// 家庭电话
  488. /// </summary>
  489. [DisplayName("家庭电话")]
  490. public string Telephone { get; set; }
  491. /// <summary>
  492. /// 移动电话
  493. /// </summary>
  494. [DisplayName("移动电话")]
  495. public string Mobile { get; set; }
  496. /// <summary>
  497. /// 邮政编码
  498. /// </summary>
  499. [DisplayName("邮政编码")]
  500. [RegularExpression(@"[1-9]\d{5}(?!\d)", ErrorMessage = "请输入正确的格式")]
  501. public string ZIPCode { get; set; }
  502. /// <summary>
  503. /// 微信号
  504. /// </summary>
  505. [DisplayName("微信号")]
  506. public string WeChatNum { get; set; }
  507. /// <summary>
  508. /// QQ
  509. /// </summary>
  510. [DisplayName("QQ")]
  511. [RegularExpression(@"[1-9][0-9]{4,}", ErrorMessage = "请输入正确的格式")]
  512. public string QQ { get; set; }
  513. /// <summary>
  514. /// 健康状况
  515. /// </summary>
  516. [DisplayName("健康状况")]
  517. public int? HealthStateID { get; set; }
  518. /// <summary>
  519. /// 健康状况
  520. /// </summary>
  521. [DisplayName("健康状况")]
  522. public string HealthStateName
  523. {
  524. get
  525. {
  526. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_HealthState.ToString()).Where(x => x.Value == HealthStateID).Select(x => x.Name).FirstOrDefault();
  527. }
  528. }
  529. /// <summary>
  530. /// 血型
  531. /// </summary>
  532. [DisplayName("血型")]
  533. public int? BloodGroup { get; set; }
  534. /// <summary>
  535. /// 血型名称
  536. /// </summary>
  537. [DisplayName("血型名称")]
  538. public string BloodGroupName
  539. {
  540. get
  541. {
  542. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_BLOODGROUP.ToString()).Where(x => x.Value == BloodGroup).Select(x => x.Name).FirstOrDefault();
  543. }
  544. }
  545. /// <summary>
  546. /// 特长
  547. /// </summary>
  548. [DisplayName("特长")]
  549. public string Specialty { get; set; }
  550. /// <summary>
  551. /// 身高(cm)
  552. /// </summary>
  553. [DisplayName("身高(cm)")]
  554. [RegularExpression(@"^\d+(\.\d+)?$", ErrorMessage = "请输入数字")]
  555. public string Height { get; set; }
  556. /// <summary>
  557. /// 体重(kg)
  558. /// </summary>
  559. [DisplayName("体重(kg)")]
  560. [RegularExpression(@"^\d+(\.\d+)?$", ErrorMessage = "请输入数字")]
  561. public string Weight { get; set; }
  562. /// <summary>
  563. /// 导师姓名
  564. /// </summary>
  565. [DisplayName("导师姓名")]
  566. public string DirectorName { get; set; }
  567. /// <summary>
  568. /// 总分
  569. /// </summary>
  570. [DisplayName("总分")]
  571. [RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
  572. public decimal? Score { get; set; }
  573. /// <summary>
  574. /// 入学方式
  575. /// </summary>
  576. [DisplayName("入学方式")]
  577. public int? EntranceWayID { get; set; }
  578. /// <summary>
  579. /// 入学方式
  580. /// </summary>
  581. [DisplayName("入学方式")]
  582. public string EntranceWayName
  583. {
  584. get
  585. {
  586. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_EntranceWay.ToString()).Where(x => x.Value == EntranceWayID).Select(x => x.Name).FirstOrDefault();
  587. }
  588. }
  589. /// <summary>
  590. /// 考生特征
  591. /// </summary>
  592. [DisplayName("考生特征")]
  593. public int? FeaturesID { get; set; }
  594. /// <summary>
  595. /// 考生特征
  596. /// </summary>
  597. [DisplayName("考生特征")]
  598. public string FeaturesName
  599. {
  600. get
  601. {
  602. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Features.ToString()).Where(x => x.Value == FeaturesID).Select(x => x.Name).FirstOrDefault();
  603. }
  604. }
  605. /// <summary>
  606. /// 生源所属地
  607. /// </summary>
  608. [DisplayName("生源所属地")]
  609. public int? TerritorialID { get; set; }
  610. /// <summary>
  611. /// 生源所属地
  612. /// </summary>
  613. [DisplayName("生源所属地")]
  614. public string TerritorialName
  615. {
  616. get
  617. {
  618. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Province.ToString()).Where(x => x.Value == TerritorialID).Select(x => x.Name).FirstOrDefault();
  619. }
  620. }
  621. /// <summary>
  622. /// 来源地区
  623. /// </summary>
  624. [DisplayName("来源地区")]
  625. public string Area { get; set; }
  626. /// <summary>
  627. /// 家庭住址
  628. /// </summary>
  629. [DisplayName("家庭住址")]
  630. public string HomeAddress { get; set; }
  631. /// <summary>
  632. /// 工作单位
  633. /// </summary>
  634. [DisplayName("工作单位")]
  635. public string WorkUnit { get; set; }
  636. /// <summary>
  637. /// 通信地址
  638. /// </summary>
  639. [DisplayName("通信地址")]
  640. public string Address { get; set; }
  641. /// <summary>
  642. /// 收件人
  643. /// </summary>
  644. [DisplayName("收件人")]
  645. public string Recipient { get; set; }
  646. /// <summary>
  647. /// 宿舍地址
  648. /// </summary>
  649. [DisplayName("宿舍地址")]
  650. public string Dormitory { get; set; }
  651. /// <summary>
  652. /// 开户银行
  653. /// </summary>
  654. [DisplayName("开户银行")]
  655. public string BankName { get; set; }
  656. /// <summary>
  657. /// 银行卡号
  658. /// </summary>
  659. [DisplayName("银行卡号")]
  660. [RegularExpression(@"^[0-9]*$", ErrorMessage = "只能输入数字")]
  661. public string CardNo { get; set; }
  662. /// <summary>
  663. /// 学籍卡编号
  664. /// </summary>
  665. [DisplayName("学籍卡编号")]
  666. [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "只能输入数字和英文字母")]
  667. public string StudentCardNo { get; set; }
  668. /// <summary>
  669. /// 学籍照片Url
  670. /// </summary>
  671. [DisplayName("学籍照片")]
  672. public string PhotoUrl { get; set; }
  673. /// <summary>
  674. /// 预计毕业日期
  675. /// </summary>
  676. [DisplayName("预计毕业日期")]
  677. [DataType(DataType.Date)]
  678. [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
  679. public DateTime? PlanningGraduateDate { get; set; }
  680. /// <summary>
  681. /// 毕业日期
  682. /// </summary>
  683. [DisplayName("毕业日期")]
  684. [DataType(DataType.Date)]
  685. [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
  686. public DateTime? GraduateDate { get; set; }
  687. /// <summary>
  688. /// 毕结业证书编号
  689. /// </summary>
  690. [DisplayName("毕结业证书编号")]
  691. [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "请输入数字或英文字母")]
  692. public string GraduateCardNo { get; set; }
  693. /// <summary>
  694. /// 补证编号(补办证书编号)
  695. /// </summary>
  696. [DisplayName("补证编号")]
  697. [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "请输入数字或英文字母")]
  698. public string ReplaceGraduateNo { get; set; }
  699. /// <summary>
  700. /// 学位有无
  701. /// </summary>
  702. [DisplayName("学位有无")]
  703. public bool DegreeStatus { get; set; }
  704. /// <summary>
  705. /// 学位有无
  706. /// </summary>
  707. [DisplayName("学位有无")]
  708. public string DegreeStatusName
  709. {
  710. get { return this.DegreeStatus != true ? "无" : "有"; }
  711. }
  712. /// <summary>
  713. /// 学历照片
  714. /// </summary>
  715. [DisplayName("学历照片")]
  716. public string GraduationPictureUrl { get; set; }
  717. /// <summary>
  718. /// 在校经历
  719. /// </summary>
  720. [DisplayName("在校经历")]
  721. public string Career { get; set; }
  722. /// <summary>
  723. /// 是否核对
  724. /// </summary>
  725. [DisplayName("是否核对")]
  726. public bool IsProofread { get; set; }
  727. /// <summary>
  728. /// 是否核对
  729. /// </summary>
  730. [DisplayName("是否核对")]
  731. public string IsProofreadName
  732. {
  733. get { return this.IsProofread != true ? "否" : "是"; }
  734. }
  735. /// <summary>
  736. /// 备注
  737. /// </summary>
  738. [DisplayName("备注")]
  739. public string Remark { get; set; }
  740. /// <summary>
  741. /// 校对数
  742. /// </summary>
  743. [DisplayName("校对数")]
  744. public int? CheckingCount { get; set; }
  745. /// <summary>
  746. /// IP地址
  747. /// </summary>
  748. [DisplayName("IP地址")]
  749. public string IP { get; set; }
  750. /// <summary>
  751. /// 校对前信息StudentViewSource
  752. /// </summary>
  753. [DisplayName("校对前信息")]
  754. public StudentView StudentViewSource { get; set; }
  755. /// <summary>
  756. /// 校对后信息StudentViewContrast
  757. /// </summary>
  758. [DisplayName("校对后信息")]
  759. public StudentView StudentViewContrast { get; set; }
  760. /// <summary>
  761. /// 审核状态
  762. /// </summary>
  763. [DisplayName("审核状态")]
  764. public int? ApprovalStatus { get; set; }
  765. /// <summary>
  766. /// 审核状态
  767. /// </summary>
  768. [DisplayName("审核状态")]
  769. public string ApprovalStatusName { get; set; }
  770. /// <summary>
  771. /// 处理动作
  772. /// </summary>
  773. [Required]
  774. [DisplayName("处理动作")]
  775. public string Action { get; set; }
  776. /// <summary>
  777. /// 处理意见
  778. /// </summary>
  779. [DisplayName("处理意见")]
  780. public string Comment { get; set; }
  781. /// <summary>
  782. /// 状态
  783. /// </summary>
  784. [DisplayName("状态")]
  785. public int? RecordStatus { get; set; }
  786. /// <summary>
  787. /// 创建人
  788. /// </summary>
  789. [DisplayName("创建人")]
  790. public Guid? CreateUserID { get; set; }
  791. /// <summary>
  792. /// 创建时间
  793. /// </summary>
  794. [DisplayName("创建时间")]
  795. public DateTime? CreateTime { get; set; }
  796. /// <summary>
  797. /// 修改人
  798. /// </summary>
  799. [DisplayName("修改人")]
  800. public Guid? ModifyUserID { get; set; }
  801. /// <summary>
  802. /// 修改时间
  803. /// </summary>
  804. [DisplayName("修改时间")]
  805. public DateTime? ModifyTime { get; set; }
  806. }
  807. }