using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.RetakeManage { public class RetakeExamsCategoryView { /// /// 重修预查考试性质ID /// [DisplayName("重修预查考试性质ID")] public Guid? RetakeExamsCatagoryID { get; set; } /// /// 考试性质 /// [DisplayName("考试性质")] public int? ExamsCategoryID { get; set; } /// /// 考试性质 /// [DisplayName("考试性质")] public string ExamsCategoryDesc { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ExamsCategory.ToString()) .Where(x => x.Value == ExamsCategoryID) .Select(x => x.Name).FirstOrDefault(); } } /// /// 是否选中 /// [DisplayName("是否选中")] public bool IsSelected { get; set; } } }