namespace PARR.API.Contracts.V1.Requests
{
public class ApplicationInWorkRequest
{
public required Guid WorkId { get; set; }
public required Guid ApplicationId { get; set; }
public required string TemplateDuration { get; set; }
public required string ShortDescription { get; set; }
public required string FullDescription { get; set; }
public required string Solution { get; set; }
//public DateTimeOffset NextRun { get; set; }
///
/// Дата начала работ
///
public DateTimeOffset ReferenceDate { get; set; }
///
/// Включить автораспределение
///
public bool IsAutoDistributionEnabled { get; set; }
public bool IsAgent { get; set; }
public string? AgentName { get; set; }
public int? AgentTimeOutSec { get; set; }
public string? AgentScript { get; set; }
//public required ScheduleRequest Schedule { get; set; }
//public List Schedule { get; set; } = new List();
public List WorkGroups { get; set; } = new List();
}
//public class ScheduleRequest
//{
// public DateTimeOffset NextRun { get; set; }
// public List EsppSchValues { get; set; } = new List();
//}
//public class EsppSchValueRequest
//{
// public Guid TypeValueId { get; set; }
// public Guid TypeConfigId { get; set; }
//}
}