1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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
- {
- /// <summary>
- /// 重修预查考试性质ID
- /// </summary>
- [DisplayName("重修预查考试性质ID")]
- public Guid? RetakeExamsCatagoryID { get; set; }
- /// <summary>
- /// 考试性质
- /// </summary>
- [DisplayName("考试性质")]
- public int? ExamsCategoryID { get; set; }
- /// <summary>
- /// 考试性质
- /// </summary>
- [DisplayName("考试性质")]
- public string ExamsCategoryDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ExamsCategory.ToString())
- .Where(x => x.Value == ExamsCategoryID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 是否选中
- /// </summary>
- [DisplayName("是否选中")]
- public bool IsSelected { get; set; }
- }
- }
|