#region ========================================================================= USING ===================================================================================== using Lumina.Presentation.Web.Common.Enums.Scheduling; using System; using System.Diagnostics; #endregion namespace Lumina.Presentation.Web.Common.DTO.Scheduling; /// /// Data transfer object for an execution of the task of a scheduled job. /// /// The unique identifier of the execution. /// The unique identifier of the scheduled job whose task was executed. /// The type of the task that was executed. /// when the execution was triggered by the execution cycle of the scheduled job. /// The date and time when the execution started. /// The optional date and time when the execution completed. [DebuggerDisplay("Id: {Id}; ScheduledJobId: {ScheduledJobId}")] public record ScheduledJobExecutionDto( Guid Id, Guid ScheduledJobId, ScheduledTaskType TaskType, bool IsCycleRun, DateTime StartedOnUtc, DateTime? CompletedOnUtc );