feat(dal,api,nextRun,templateGenerator,templateActivator): IsUnused вынесена в TemplateStatusType

This commit is contained in:
Mikhail Kuznetsov
2025-12-01 15:27:18 +10:00
parent 7e708e4aee
commit 3243e33819
17 changed files with 4333 additions and 16 deletions

View File

@@ -0,0 +1,30 @@
using PARR.Common.Domain;
using PARR.Constants;
namespace PARR.BLL.Domain.Mq
{
public class TemplateUpdaterMq
{
public Guid TemplateId { get; set; }
public Guid JobId { get; set; }
public required string Name { get; set; }
public bool IsActiveTemplate { get; set; }
public bool IsActiveSchedule { get; set; }
public DateTimeOffset? LastRun { get; set; }
public DateTimeOffset NextRun { get; set; }
public Guid UnitId { get; set; }
public int? Index { get; set; }
public TemplateStatusTypeEnum StatusTypeId { get; set; }
public required IHistoryInitiator Initiator { get; set; }
}
}