using EMIS.ViewModel.Cache; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace EMIS.ViewModel.ExamManage { public class LevelSettingSubjectView { [DisplayName("等级科目设置ID")] public Guid? LevelSettingSubjectID { get; set; } [DisplayName("等级设置ID")] public Guid? LevelSettingID { get; set; } [DisplayName("考试科目ID")] public int? ExaminationSubjectID { get; set; } [DisplayName("考试科目项")] public string ExaminationSubjectName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject.ToString()) .Where(x => x.Value == ExaminationSubjectID) .Select(x => x.Name).FirstOrDefault(); } } [DisplayName("成绩要求")] public decimal? PassScore { get; set; } [DisplayName("状态")] public int? RecordStatus { get; set; } [DisplayName("考试类型")] public Guid? ExaminationTypeID { get; set; } [DisplayName("考试类型")] public string ExaminationTypeName { get; set; } [DisplayName("认定结果名称")] public string LevelName { get; set; } [DisplayName("是否通过")] public bool? IsPassed { get; set; } } }