feat(api): templateResponse - добавлена инфа о часовом поясе
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class ScheduleResponseAreaTimeOffsetResponse
|
||||
{
|
||||
public required string ResponseArea { get; set; }
|
||||
|
||||
public required string EsppValue { get; set; }
|
||||
|
||||
public TimeSpan UtcTimeOffset { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// NextRun с учетом ЗО
|
||||
/// NextRun с учетом ЗО (локальное время по ЗО, не UTC)
|
||||
/// </summary>
|
||||
public DateTimeOffset? NextRunResponseAreaInLocal { get; set; }
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
/// <summary>
|
||||
/// Рабочая группа (формируется из шорткода)
|
||||
/// </summary>
|
||||
public string? WorkGroup { get; set; }
|
||||
public string? WorkGroup { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ЗО, формируется из шорткода
|
||||
/// </summary>
|
||||
public string? ResponseArea { get; set; }
|
||||
public string? ResponseArea { get; set; }
|
||||
|
||||
public UnitWithAttributesResponse? Unit { get; set; }
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
public ScheduleResponseAreaTimeOffsetResponse? Timezone { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user