NextStepsDto.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using Hotline.Share.Enums.FlowEngine;
  2. namespace Hotline.Share.Dtos.FlowEngine;
  3. public class NextStepsDto
  4. {
  5. /// <summary>
  6. /// 当前办理节点
  7. /// </summary>
  8. public string StepId { get; set; }
  9. // public IReadOnlyList<NextStepOption> Steps { get; set; }
  10. public DateTime? ExpiredTime { get; set; }
  11. /// <summary>
  12. /// 是否有否决按钮
  13. /// </summary>
  14. public bool CanReject { get; set; }
  15. /// <summary>
  16. /// 是否支持发起会签
  17. /// </summary>
  18. public bool CanStartCountersign { get; set; }
  19. /// <summary>
  20. /// 是否显示主办对象
  21. /// </summary>
  22. public bool IsMainHandlerShow { get; set; }
  23. /// <summary>
  24. /// 当前办理节点业务类型
  25. /// </summary>
  26. public EBusinessType CurrentStepBusinessType { get; set; }
  27. public IReadOnlyList<KeyValuePair<int, string>> TimeTypeOptions { get; set; }
  28. }
  29. public class NextStepsDto<TSteps> : NextStepsDto
  30. {
  31. public List<TSteps> Steps { get; set; }
  32. }
  33. public class NextStepsWithOpinionDto<TSteps> : NextStepsDto<TSteps>
  34. {
  35. /// <summary>
  36. /// 宜宾需求:汇总节点办理前展示前一节点办理意见
  37. /// </summary>
  38. public string? Opinion { get; set; }
  39. }