Add campaign manager
This commit is contained in:
@ -6,14 +6,16 @@ namespace Hcs.WebApp.Data.Hcs
|
||||
{
|
||||
public enum OperationType
|
||||
{
|
||||
NsiCommon_15_7_0_1_ExportAllRegistryElements
|
||||
NsiCommon_ExportNsiItem_15_7_0_1
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public OperationType Type { get; set; }
|
||||
public int CampaignId { get; set; }
|
||||
|
||||
public string InitiatorId { get; set; }
|
||||
public virtual Campaign Campaign { get; set; } = null!;
|
||||
|
||||
public OperationType Type { get; set; }
|
||||
|
||||
public DateTime StartedAt { get; set; }
|
||||
|
||||
@ -21,6 +23,8 @@ namespace Hcs.WebApp.Data.Hcs
|
||||
|
||||
public string? MessageGuid { get; set; }
|
||||
|
||||
public virtual ICollection<Registry> Registries { get; set; } = [];
|
||||
|
||||
[NotMapped]
|
||||
public bool Completed => EndedAt.HasValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user