LevelScoreView.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. using Bowin.Common.Mvc;
  8. using EMIS.ViewModel.Cache;
  9. namespace EMIS.ViewModel.ScoreManage
  10. {
  11. public class LevelScoreView
  12. {
  13. public Guid? ExaminationScoreID { get; set; }
  14. [DisplayName("学年学期")]
  15. public Guid? SchoolyearID { get; set; }
  16. [DisplayName("学年学期")]
  17. public string SchoolyearCode { get; set; }
  18. [DisplayName("考试批次")]
  19. public Guid? ExaminationBatchProjectID { get; set; }
  20. [DisplayName("考试批次")]
  21. public Guid? ExaminationBatchID { get; set; }
  22. [DisplayName("考试批次")]
  23. public string ExaminationBatchName { get; set; }
  24. [DisplayName("考试类型")]
  25. public Guid? ExaminationTypeID { get; set; }
  26. [DisplayName("考试类型")]
  27. public string ExaminationTypeName { get; set; }
  28. [DisplayName("项目名称")]
  29. public Guid? ExaminationProjectID { get; set; }
  30. [DisplayName("项目名称")]
  31. public string ExaminationProjectName { get; set; }
  32. [DisplayName("考试科目ID")]
  33. public int? ExaminationSubjectID { get; set; }
  34. [DisplayName("考试科目项")]
  35. public string ExaminationSubjectName
  36. {
  37. get
  38. {
  39. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject.ToString())
  40. .Where(x => x.Value == ExaminationSubjectID)
  41. .Select(x => x.Name).FirstOrDefault();
  42. }
  43. }
  44. public Dictionary<int?, decimal?> ScoreList { get; set; }
  45. public string ScoreStr { get; set; }
  46. public decimal? Score { get; set; }
  47. public Guid? ProjectScoreID { get; set; }
  48. public Guid? LevelSettingID { get; set; }
  49. public string LevelName { get; set; }
  50. public string StudentNo { get; set; }
  51. public Guid? UserID { get; set; }
  52. public string UserName { get; set; }
  53. public int? CertificatesType { get; set; }
  54. public string CertificatesTypeName
  55. {
  56. get
  57. {
  58. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  59. .Where(x => x.Value == CertificatesType)
  60. .Select(x => x.Name).FirstOrDefault();
  61. }
  62. }
  63. public string IDNumber { get; set; }
  64. public Guid? CollegeID { get; set; }
  65. public string CollegeName { get; set; }
  66. public int? Year { get; set; }
  67. public int? StandardID { get; set; }
  68. public string StandardName
  69. {
  70. get
  71. {
  72. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  73. .Where(x => x.Value == StandardID)
  74. .Select(x => x.Name).FirstOrDefault();
  75. }
  76. }
  77. public Guid? ClassmajorID { get; set; }
  78. public string ClassmajorName { get; set; }
  79. }
  80. }