using System;
namespace FrameworkDAL.DTO.ActionRunMonitor
{
/// Projection of TEVENTACTIONRUN for the monitoring API.
public sealed class ActionRunDTO
{
public int ActionRunId { get; set; }
public int ActionId { get; set; }
public int EventTypeId { get; set; }
public int TenantId { get; set; }
/// 0=Pending, 1=InProgress, 2=Completed, 3=Failed
public int RunStatus { get; set; }
public int Attempts { get; set; }
public string? ErrorMessage { get; set; }
public DateTime? StartedOn { get; set; }
public DateTime? CompletedOn { get; set; }
public string? CorrelationKey { get; set; }
public DateTime CreatedOn { get; set; }
}
}