namespace MMDAL.DTO.Scheduling { // Mirrors TSCHEDULINGRUNLOG — used for both insert and read operations public class SchedulingRunLogDTO { public int SchedulingRunId { get; set; } public int TenantId { get; set; } public int TriggeredByUserId { get; set; } public DateTime HorizonFromDate { get; set; } public DateTime HorizonToDate { get; set; } public int MachinesScheduled { get; set; } public decimal UtilizationPct { get; set; } public long DurationMs { get; set; } // 0=Pending 1=Running 2=Completed 3=Failed public byte Status { get; set; } public string? ErrorMessage { get; set; } public string? RccpJson { get; set; } public DateTime StartedAt { get; set; } public DateTime? CompletedAt { get; set; } } }