ExamsCategorySettingView.cs 935 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.CacheManage;
  6. namespace EMIS.ViewModel.ScoreManage
  7. {
  8. public class ExamsCategorySettingView
  9. {
  10. /// <summary>
  11. /// ExamsCategoryID
  12. /// </summary>
  13. public Nullable<int> ExamsCategoryID { get; set; }
  14. public string ExamsCategoryDesc
  15. {
  16. get
  17. {
  18. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ExamsCategory.ToString())
  19. .Where(x => x.Value == ExamsCategoryID)
  20. .Select(x => x.Name).FirstOrDefault();
  21. }
  22. }
  23. /// <summary>
  24. /// ExamsCategorySettingID
  25. /// </summary>
  26. public System.Guid? ExamsCategorySettingID { get; set; }
  27. /// <summary>
  28. /// IsReadHistory
  29. /// </summary>
  30. public bool IsReadHistory { get; set; }
  31. }
  32. }