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,12 +3,14 @@
/// <summary>
/// Модель, результат распределения шаблона
/// </summary>
public class TemplateNextRunResultDto
{
public Guid Id { get; set; }
public record TemplateNextRunResultDto(Guid Id, DateTimeOffset NextRun, DateTimeOffset? NextRunOld);
public DateTimeOffset NextRun { get; set; }
//public class TemplateNextRunResultDto
//{
// public Guid Id { get; set; }
public DateTimeOffset? NextRunOld { get; set; }
}
// public DateTimeOffset NextRun { get; set; }
// public DateTimeOffset? NextRunOld { get; set; }
//}
}