Grp_ScheduleDetailView.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using OASystem.Domain.Enums;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.Specialized;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.ViewModels.Groups
  9. {
  10. public class Grp_ScheduleDetailView
  11. {
  12. public int DetailId { get; set; }
  13. /// <summary>
  14. /// 根节点(主流程)
  15. /// </summary>
  16. public int Root { get; set; }
  17. public int Step { get; set; }
  18. public string StepName
  19. {
  20. get
  21. {
  22. NameValueCollection nvc = EnumHelper.GetNVCFromEnumValue(typeof(GrpSchedulePrimaryStepEnum));
  23. string rst = nvc[this.Step.ToString()];
  24. if (string.IsNullOrEmpty(rst))
  25. {
  26. rst = Step.ToString();
  27. }
  28. return rst;
  29. }
  30. }
  31. public int Duty { get; set; }
  32. public string JobContent { get; set; }
  33. public DateTime ExpectBeginDt { get; set; }
  34. public DateTime ExpectEndDt { get; set; }
  35. public DateTime RealEndDt { get; set; }
  36. public string Remark { get; set; }
  37. public int Exception { get; set; }
  38. public int Level { get; set; }
  39. public int StepStatus { get; set; }
  40. public List<Grp_ScheduleDetailView> ChildList { get; set; }
  41. }
  42. }