namespace KmsDAL.DTO.KmGap { public class KmKnowledgeGapDTO { public int GapId { get; set; } public string QueryText { get; set; } = string.Empty; public string QueryHash { get; set; } = string.Empty; public decimal BestScoreReturned { get; set; } public int BestArtifactId { get; set; } public string? CallerJson { get; set; } // 0 Open, 1 InProgress, 2 Resolved, 3 WontFix public byte GapStatus { get; set; } public int OccurrenceCount { get; set; } public DateTime LastQueriedOn { get; set; } public string? ResolutionNotes { get; set; } public int ResolvedById { get; set; } public DateTime? ResolvedOn { get; set; } public int TenantId { get; set; } public DateTime CreatedOn { get; set; } } public class KmResolveGapDTO { public int GapId { get; set; } public string ResolutionNotes { get; set; } = string.Empty; // 2 = Resolved, 3 = WontFix public byte NewStatus { get; set; } } public class KmRecordGapDTO { public string QueryText { get; set; } = string.Empty; public string QueryHash { get; set; } = string.Empty; public decimal BestScoreReturned { get; set; } public int BestArtifactId { get; set; } public string? CallerJson { get; set; } public int TenantId { get; set; } public int CreatedById { get; set; } } }