using Dahomey.Cbor.Attributes; namespace TarninaHub.Infrastructure.Persistence; internal sealed class InnovationRow { [CborProperty("id")] public string Id { get; set; } = string.Empty; [CborProperty("title")] public string Title { get; set; } = string.Empty; [CborProperty("summary")] public string Summary { get; set; } = string.Empty; [CborProperty("description")] public string Description { get; set; } = string.Empty; [CborProperty("challenge")] public string Challenge { get; set; } = string.Empty; [CborProperty("stage")] public string Stage { get; set; } = string.Empty; [CborProperty("cost")] public string? Cost { get; set; } [CborProperty("contact")] public Dictionary? Contact { get; set; } [CborProperty("media")] public List> Media { get; set; } = []; [CborProperty("published")] public bool Published { get; set; } [CborProperty("updated_at")] public DateTimeOffset? UpdatedAt { get; set; } [CborProperty("embedding")] public List? Embedding { get; set; } }