namespace CMSMicroservice.Application.CommissionCQ.Queries.GetWorkerStatus;

public class GetWorkerStatusResponseDto
{
    public bool IsRunning { get; set; }
    public bool IsEnabled { get; set; }
    public string? CurrentExecutionId { get; set; }
    public string? CurrentWeekNumber { get; set; }
    public string? CurrentWeekDisplayName { get; set; }
    public string? CurrentStep { get; set; } // "Balances" | "Pool" | "Payouts" | "Idle"
    public DateTime? LastRunAt { get; set; }
    public DateTime? NextScheduledRun { get; set; }
    public int TotalExecutions { get; set; }
    public int SuccessfulExecutions { get; set; }
    public int FailedExecutions { get; set; }
}
