feat(dal): template distributor - логика получения NextRun. Рефакторинг

This commit is contained in:
Mikhail Trubnikov
2026-01-20 15:04:36 +10:00
parent 6e8e3c89c2
commit 2038f7b57d
8 changed files with 282 additions and 451 deletions

View File

@@ -3,10 +3,12 @@
/// <summary>
/// Модель шаблона, для расчета NextRun
/// </summary>
public class TemplateNextRunDto
{
public Guid Id { get; set; }
public record TemplateNextRunDto(Guid Id, DateTimeOffset? NextRun);
public DateTimeOffset? NextRun { get; set; }
}
//public class TemplateNextRunDto
//{
// public Guid Id { get; set; }
// public DateTimeOffset? NextRun { get; set; }
//}
}