LevelSettingSubjectView.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using EMIS.ViewModel.Cache;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.ExamManage
  8. {
  9. public class LevelSettingSubjectView
  10. {
  11. [DisplayName("等级科目设置ID")]
  12. public Guid? LevelSettingSubjectID { get; set; }
  13. [DisplayName("等级设置ID")]
  14. public Guid? LevelSettingID { get; set; }
  15. [DisplayName("考试科目ID")]
  16. public int? ExaminationSubjectID { get; set; }
  17. [DisplayName("考试科目项")]
  18. public string ExaminationSubjectName {
  19. get
  20. {
  21. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject.ToString())
  22. .Where(x => x.Value == ExaminationSubjectID)
  23. .Select(x => x.Name).FirstOrDefault();
  24. }
  25. }
  26. [DisplayName("成绩要求")]
  27. public decimal? PassScore { get; set; }
  28. [DisplayName("状态")]
  29. public int? RecordStatus { get; set; }
  30. [DisplayName("考试类型")]
  31. public Guid? ExaminationTypeID { get; set; }
  32. [DisplayName("考试类型")]
  33. public string ExaminationTypeName { get; set; }
  34. [DisplayName("认定结果名称")]
  35. public string LevelName { get; set; }
  36. [DisplayName("是否通过")]
  37. public bool? IsPassed { get; set; }
  38. }
  39. }