namespace Api.Data.Entities; public sealed class RagDocumentEntity { public string Id { get; set; } = string.Empty; public string DocumentType { get; set; } = string.Empty; public string Title { get; set; } = string.Empty; public string? SourceUrl { get; set; } public string RawText { get; set; } = string.Empty; public string TextHash { get; set; } = string.Empty; public double TypeConfidence { get; set; } public string MetadataJson { get; set; } = "{}"; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public ICollection Chunks { get; set; } = []; }