Implement step 17 modules: threads/messages, notifications with automation (submission.created, idea.created, grant_call.opened), innovation test feedback, admin panel (submissions, verify, metrics, grant call status), Middleman adaptation and partnerships. Split multi-type files into one type per file and replace object-valued dictionaries with string-valued maps in data contracts (migrations 0006/0007).
20 lines
590 B
C#
20 lines
590 B
C#
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; }
|
|
}
|