namespace Rag.Models
{
    public sealed class RagDocumentRecord
    {
        public required string Id { get; init; }
        public required string DocumentType { get; init; }
        public required string Title { get; init; }
        public string? SourceUrl { get; init; }
        public required string Text { get; init; }
        public required string TextHash { get; init; }
        public double TypeConfidence { get; init; }
        public string MetadataJson { get; init; } = "{}";
        public DateTimeOffset CreatedAt { get; init; }
    }
}
