using Dahomey.Cbor.Attributes; namespace TarninaHub.Infrastructure.Persistence; internal sealed class ConsentRow { [CborProperty("id")] public string Id { get; set; } = string.Empty; [CborProperty("user")] public string User { get; set; } = string.Empty; [CborProperty("scope")] public string Scope { get; set; } = string.Empty; [CborProperty("granted_at")] public DateTimeOffset GrantedAt { get; set; } [CborProperty("expires_at")] public DateTimeOffset? ExpiresAt { get; set; } [CborProperty("revoked_at")] public DateTimeOffset? RevokedAt { get; set; } }