using IWS5.Core.DTO.IAdmin.Schedules;

namespace IWS5.Core.DTO.IAdmin.Servers;

public class ServerDetailsDTO(string hostName, int logLevel, string logFile, int limit, int interval, string status, bool runExpired, List<ScheduleDetailsDTO>? schedules = null, List<EventDefinitionDTO>? events = null)
{
    public string HostName { get; private set; } = hostName;
    public int? LogLevel { get; private set; } = logLevel;
    public string? LogFile { get; private set; } = logFile;
    public int? Limit { get; private set; } = limit;
    public int? Interval { get; private set; } = interval;
    public string? Status { get; private set; } = status;
    public bool? RunExpired { get; private set; } = runExpired;
    public List<ScheduleDetailsDTO>? Schedules { get; private set; } = schedules;
    public List<EventDefinitionDTO>? Events { get; private set; } = events;
}
