46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
namespace PARR.API.Contracts.V1.Requests
|
|
{
|
|
public class JobGroupRequest
|
|
{
|
|
public required string Name { get; set; }
|
|
|
|
//public bool? IsUmbrella { get; set; }
|
|
|
|
public Guid GroupTypeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Поле по которому групиируем, если тип - ГРУППА
|
|
/// </summary>
|
|
public Guid? GroupingUnitFieldId { get; set; }
|
|
|
|
public required string ShortDescription { get; set; }
|
|
|
|
public required string FullDescription { get; set; }
|
|
|
|
public required string Solution { get; set; }
|
|
|
|
public required string TemplateDuration { 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 List<EsppSchValueRequest> Schedule { get; set; } = new List<EsppSchValueRequest>();
|
|
}
|
|
|
|
public class EsppSchValueRequest
|
|
{
|
|
public Guid TypeValueId { get; set; }
|
|
|
|
public Guid TypeConfigId { get; set; }
|
|
}
|
|
}
|