namespace IWS5.Core.DTO.IAdmin.Schedules;

public class ScheduleTaskDTO(
    int taskId,
    string taskName,
    string taskType,
    string? commandText,
    string? executablePath,
    int? onSuccessActionId,
    int? onFailureActionId,
    bool enabled,
    int sortOrder
)
{
    public int TaskId { get; private set; } = taskId;
    public string TaskName { get; private set; } = taskName;
    public string TaskType { get; private set; } = taskType;
    public string? CommandText { get; private set; } = commandText;
    public string? ExecutablePath { get; private set; } = executablePath;
    public int? OnSuccessActionId { get; private set; } = onSuccessActionId;
    public int? OnFailureActionId { get; private set; } = onFailureActionId;
    public bool Enabled { get; private set; } = enabled;
    public int SortOrder { get; private set; } = sortOrder;
}
