ProjectScoreView.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.ScoreManage
  7. {
  8. public class ProjectScoreView
  9. {
  10. public Guid ProjectScoreID { get; set; }
  11. public Guid? SchoolyearID { get; set; }
  12. public string SchoolyearCode { get; set; }
  13. public Guid? UserID { get; set; }
  14. public string UserName { get; set; }
  15. public int? CertificatesType { get; set; }
  16. public string CertificatesTypeName
  17. {
  18. get
  19. {
  20. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  21. .Where(x => x.Value == CertificatesType)
  22. .Select(x => x.Name).FirstOrDefault();
  23. }
  24. }
  25. public string IDNumber { get; set; }
  26. public Guid? CollegeID { get; set; }
  27. public string CollegeName { get; set; }
  28. public int? Year { get; set; }
  29. public int? StandardID { get; set; }
  30. public string StandardName
  31. {
  32. get
  33. {
  34. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  35. .Where(x => x.Value == StandardID)
  36. .Select(x => x.Name).FirstOrDefault();
  37. }
  38. }
  39. public Guid? ClassmajorID { get; set; }
  40. public string ClassmajorName { get; set; }
  41. public Guid? ExaminationTypeID { get; set; }
  42. public string ExaminationTypeName { get; set; }
  43. public Guid? ExaminationProjectID { get; set; }
  44. public string ExaminationProjectName { get; set; }
  45. public Guid? LevelSettingID { get; set; }
  46. public string LevelName { get; set; }
  47. public Guid? TrainingClassID { get; set; }
  48. public string TrainingClassName { get; set; }
  49. }
  50. }