23 lines
511 B
C#
23 lines
511 B
C#
|
|
namespace OTSSignsOrchestrator.Server.Data.Entities;
|
||
|
|
|
||
|
|
public enum JobStepStatus
|
||
|
|
{
|
||
|
|
Queued,
|
||
|
|
Running,
|
||
|
|
Completed,
|
||
|
|
Failed
|
||
|
|
}
|
||
|
|
|
||
|
|
public class JobStep
|
||
|
|
{
|
||
|
|
public Guid Id { get; set; }
|
||
|
|
public Guid JobId { get; set; }
|
||
|
|
public string StepName { get; set; } = string.Empty;
|
||
|
|
public JobStepStatus Status { get; set; }
|
||
|
|
public string? LogOutput { get; set; }
|
||
|
|
public DateTime? StartedAt { get; set; }
|
||
|
|
public DateTime? CompletedAt { get; set; }
|
||
|
|
|
||
|
|
public Job Job { get; set; } = null!;
|
||
|
|
}
|