using Dahomey.Cbor.Attributes; namespace TarninaHub.Infrastructure.Persistence; internal sealed class NotificationRow { [CborProperty("id")] public string Id { get; set; } = string.Empty; [CborProperty("type")] public string Type { get; set; } = string.Empty; [CborProperty("payload")] public Dictionary Payload { get; set; } = []; [CborProperty("read_at")] public DateTimeOffset? ReadAt { get; set; } [CborProperty("created_at")] public DateTimeOffset CreatedAt { get; set; } }