using Dahomey.Cbor.Attributes; namespace TarninaHub.Infrastructure.Persistence; internal sealed class KnowledgeItemRow { [CborProperty("id")] public string Id { get; set; } = string.Empty; [CborProperty("title")] public string Title { get; set; } = string.Empty; [CborProperty("kind")] public string Kind { get; set; } = string.Empty; [CborProperty("challenge")] public string? Challenge { get; set; } [CborProperty("source_url")] public string? SourceUrl { get; set; } [CborProperty("attachments")] public List> Attachments { get; set; } = []; [CborProperty("published")] public bool Published { get; set; } [CborProperty("updated_at")] public DateTimeOffset? UpdatedAt { get; set; } }