DefinedStepDto.cs 713 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Hotline.Share.Enums.FlowEngine;
  7. using XF.Utility.EnumExtensions;
  8. namespace Hotline.Share.Dtos.FlowEngine
  9. {
  10. /// <summary>
  11. /// 配置好的下一节点
  12. /// </summary>
  13. public class DefinedStepDto
  14. {
  15. public string Id { get; set; }
  16. public IReadOnlyList<StepBasicDto> Steps { get; set; }
  17. public DateTime ExpiredTime { get; set; }
  18. public IReadOnlyList<string> Components { get; set; }
  19. public IEnumerable<KeyValuePair<int, string>> CommunicationModeOptions =>
  20. EnumExts.GetDescriptions<ERealCommunicationMode>();
  21. }
  22. }