feat(dal,core): Перенесены оставшиеся объекты из dal в core.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace PARR.Core.Services.NextRunServices.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Модель шаблона, для расчета NextRun
|
||||
/// </summary>
|
||||
public record TemplateNextRunDto(Guid Id, DateTimeOffset? NextRun);
|
||||
|
||||
//public class TemplateNextRunDto
|
||||
//{
|
||||
// public Guid Id { get; set; }
|
||||
|
||||
// public DateTimeOffset? NextRun { get; set; }
|
||||
//}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace PARR.Core.Services.NextRunServices.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Модель, результат распределения шаблона
|
||||
/// </summary>
|
||||
public record TemplateNextRunResultDto(Guid Id, DateTimeOffset NextRun, DateTimeOffset? NextRunOld);
|
||||
|
||||
//public class TemplateNextRunResultDto
|
||||
//{
|
||||
// public Guid Id { get; set; }
|
||||
|
||||
// public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
// public DateTimeOffset? NextRunOld { get; set; }
|
||||
//}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace PARR.Core.Services.NextRunServices.Models
|
||||
{
|
||||
internal record TemplateWithWorkGroupDto(Guid Id, DateTimeOffset? NextRun, string WorkGroup);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user