ExaminationMessageView.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using EMIS.ViewModel.Cache;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace EMIS.ViewModel.EducationManage
  7. {
  8. public class ExaminationMessageView
  9. {
  10. public Guid ExaminationRegistrationID { get; set; }
  11. public Guid? SchoolyearID { get; set; }
  12. public string SchoolyearCode { get; set; }
  13. public Guid? ExaminationBatchID { get; set; }
  14. public string ExaminationBatchName { get; set; }
  15. public Guid? ExaminationTypeID { get; set; }
  16. public string ExaminationTypeName { get; set; }
  17. public Guid? ExaminationProjectID { get; set; }
  18. public string ExaminationProjectName { get; set; }
  19. public Guid? ClassmajorID { get; set; }
  20. public string ClassmajorName { get; set; }
  21. public Guid? UserID { get; set; }
  22. public string UserName { get; set; }
  23. public int? Sex { get; set; }
  24. public string SexName
  25. {
  26. get
  27. {
  28. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  29. .Where(x => x.Value == Sex)
  30. .Select(x => x.Name).FirstOrDefault();
  31. }
  32. }
  33. public string StudentCardNo { get; set; }
  34. public int? CertificatesType { get; set; }
  35. public string CertificatesTypeName
  36. {
  37. get
  38. {
  39. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  40. .Where(x => x.Value == CertificatesType)
  41. .Select(x => x.Name).FirstOrDefault();
  42. }
  43. }
  44. public string IDNumber { get; set; }
  45. public DateTime? ExaminationTime { get; set; }
  46. public string Remark { get; set; }
  47. }
  48. }