TrainingClassExportView.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Cache;
  6. namespace EMIS.ViewModel.EducationManage
  7. {
  8. public class TrainingClassExportView
  9. {
  10. public Guid TrainingClassID { 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 DateTime? ExaminationBatchCreateTime { get; set; }
  16. public Guid? ExaminationTypeID { get; set; }
  17. public string ExaminationTypeName { get; set; }
  18. public Guid? ExaminationProjectID { get; set; }
  19. public string ExaminationProjectName { get; set; }
  20. public Guid UserID { get; set; }
  21. public Guid? GrademajorID { get; set; }
  22. public int? Year { get; set; }
  23. public Guid? ClassmajorID { get; set; }
  24. public string ClassmajorName { get; set; }
  25. public string UserName { get; set; }
  26. public int? Sex { get; set; }
  27. public string SexName
  28. {
  29. get
  30. {
  31. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  32. .Where(x => x.Value == Sex)
  33. .Select(x => x.Name).FirstOrDefault();
  34. }
  35. }
  36. public Nullable<int> CertificatesType { get; set; }
  37. public string CertificatesTypeName
  38. {
  39. get
  40. {
  41. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  42. .Where(x => x.Value == CertificatesType)
  43. .Select(x => x.Name).FirstOrDefault();
  44. }
  45. }
  46. public string IDNumber { get; set; }
  47. public string Mobile { get; set; }
  48. public string Name { get; set; }
  49. }
  50. }