WorkflowExecutionPointerInfo.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using Abp.Domain.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. using WorkflowCore.Models;
  7. namespace VberZero.Workflow.Persistence
  8. {
  9. [Table("Sys_Wf_ExecutionPointers")]
  10. public class WorkflowExecutionPointerInfo : Entity<string>
  11. {
  12. public string WorkflowId { get; set; }
  13. [ForeignKey("WorkflowId")]
  14. public WorkflowInfo WorkflowInfo { get; set; }
  15. public int StepId { get; set; }
  16. public bool Active { get; set; }
  17. public DateTime? SleepUntil { get; set; }
  18. public string PersistenceData { get; set; }
  19. public DateTime? StartTime { get; set; }
  20. public DateTime? EndTime { get; set; }
  21. [MaxLength(100)]
  22. public string EventName { get; set; }
  23. [MaxLength(100)]
  24. public string EventKey { get; set; }
  25. public bool EventPublished { get; set; }
  26. public string EventData { get; set; }
  27. [MaxLength(100)]
  28. public string StepName { get; set; }
  29. public List<WorkflowExtensionAttributeInfo> ExtensionAttributes { get; set; } = new();
  30. public int RetryCount { get; set; }
  31. public string Children { get; set; }
  32. public string ContextItem { get; set; }
  33. [MaxLength(100)]
  34. public string PredecessorId { get; set; }
  35. public string Outcome { get; set; }
  36. public PointerStatus Status { get; set; } = PointerStatus.Legacy;
  37. public string Scope { get; set; }
  38. }
  39. }