feat(dal,api,nextRun,templateGenerator,templateActivator): IsUnused вынесена в TemplateStatusType
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using PARR.Constants;
|
||||
using PARR.Common.Domain;
|
||||
using PARR.Constants;
|
||||
|
||||
namespace PARR.BLL.Domain.Mq
|
||||
{
|
||||
@@ -6,5 +7,8 @@ namespace PARR.BLL.Domain.Mq
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public SyncTaskEntityTypeEnum EntityType { get; set; }
|
||||
public TemplateMatcherActionEnum Action { get; set; }
|
||||
|
||||
public required IHistoryInitiator Initiator { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
30
PARR.BLL/Domain/Mq/TemplateUpdaterMq.cs
Normal file
30
PARR.BLL/Domain/Mq/TemplateUpdaterMq.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user