DegreeFinallyScoreView.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using EMIS.ViewModel.GraduationManage.GraduationSetting;
  8. using EMIS.ViewModel.CacheManage;
  9. namespace EMIS.ViewModel.DegreeManage.DegreeSetting
  10. {
  11. public class DegreeFinallyScoreView : GraduateDesignCourseScoreView
  12. {
  13. /// <summary>
  14. /// 执行计划ID
  15. /// </summary>
  16. [DisplayName("执行计划ID")]
  17. public Guid ExecutablePlanID { get; set; }
  18. /// <summary>
  19. /// 计划状态(执行计划)
  20. /// </summary>
  21. [DisplayName("计划状态")]
  22. public int? ExecutablePlanStatus { get; set; }
  23. /// <summary>
  24. /// 计划状态(执行计划)
  25. /// </summary>
  26. [DisplayName("计划状态")]
  27. public string ExecutablePlanStatusName
  28. {
  29. get
  30. {
  31. return IdNameExt.GetDictionaryItem(DictionaryItem.EM_ExecuteStatus.ToString())
  32. .Where(x => x.Value == ExecutablePlanStatus)
  33. .Select(x => x.Name).FirstOrDefault();
  34. }
  35. }
  36. }
  37. }