Files
parr_api/PARR.API/Contracts/V1/Responses/TemplateResponse.cs

48 lines
1.6 KiB
C#

namespace PARR.API.Contracts.V1.Responses
{
public class TemplateResponse
{
public Guid Id { get; set; }
public required string Name { get; set; }
public bool IsActiveTemplate { get; set; }
public bool IsActiveSchedule { get; set; }
public Guid ApplicationInWorkId { get; set; }
public required string Category { get; set; }
public required string Initiator { get; set; }
public required string ClosingCode { 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 TemplateAgentResponse? Agent { get; set; }
public DateTimeOffset? LastRun { get; set; }
public DateTimeOffset NextRun { get; set; }
public bool IsAutoDistributionEnabled { get; set; }
//public HostTemplateResponse? Host { get; set; }
public UnitBaseResponse? Unit { get; set; }
public JobBaseResponse? Job { get; set; }
//public WorkResponse? Work { get; set; }
public ProcessResponse? Process { get; set; }
public SubprocessResponse? Subprocess { get; set; }
public TnkResponse? Tnk { get; set; }
public List<RobotConfigurationResponse>? SyncStatus { get; set; }
/// <summary>
/// Расписание
/// </summary>
public EsppScheduleResponse? Schedule { get; set; }
public int OrderCount { get; set; }
}
}