28 lines
590 B
C#
28 lines
590 B
C#
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;
|
|
}
|
|
}
|