using LCU.Library.Internal.DocumentIngestorModels.Enums; using System; using System.ComponentModel.DataAnnotations.Schema; namespace LCU.Library.Internal.DocumentIngestorModels.Entities { public class IngestorRunInfo { public IngestorRunInfo() { } public IngestorRunInfo(Guid ingestorRunInfoId, DateTime startTimeStamp, IngestorTypes ingestorType, string filePath, string indexFileName, int indexTotal, int ingestionRunCount = 0) { IngestorRunInfoId = ingestorRunInfoId; StartTimeStamp = startTimeStamp; IngestorType = ingestorType; IndexFileName = indexFileName; IndexFilePath = filePath; IndexTotal = indexTotal; IngestionRunCount = ingestionRunCount; } public Guid IngestorRunInfoId { get; set; } public DateTime StartTimeStamp { get; set; } public DateTime? EndTimeStamp { get; set; } public IngestorTypes IngestorType { get; set; } public string IndexFilePath { get; set; } public string IndexFileName { get; set; } public int IndexTotal { get; set; } public DateTime? ArchiveTimeStamp { get; set; } public int IngestionRunCount { get; set; } = 0; } }