namespace Thalos.DAL.Contracts;
///
/// Contract representing a persisted identity user aggregate.
///
/// Contract envelope metadata.
/// Identity subject identifier.
/// Tenant scope identifier.
/// Current user status.
/// Persisted token projection for subject/tenant.
/// Persisted token expiration in seconds.
/// Persisted policy context projection.
public sealed record IdentityUserRecord(
IdentityContractEnvelope Envelope,
string SubjectId,
string TenantId,
string Status,
string Token,
int ExpiresInSeconds,
bool ContextSatisfied);