Update common registries page
This commit is contained in:
27
Hcs.WebApp/Data/Hcs/Operation.cs
Normal file
27
Hcs.WebApp/Data/Hcs/Operation.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Hcs.WebApp.Data.Hcs
|
||||
{
|
||||
public class Operation
|
||||
{
|
||||
public enum OperationType
|
||||
{
|
||||
Nsi_15_7_0_1_ExportAllRegistryElements
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
public OperationType Type { get; set; }
|
||||
|
||||
public string InitiatorId { get; set; }
|
||||
|
||||
public DateTime StartedAt { get; set; }
|
||||
|
||||
public DateTime? EndedAt { get; set; }
|
||||
|
||||
public string MessageGuid { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool Completed => EndedAt.HasValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user