Class PlatformAdminDto
- Namespace
- KadicAuth.Application.PlatformAdmins.DTOs
- Assembly
- KadicAuth.Application.dll
Read model exposed by the PlatformAdminsController. Deliberately omits
internal metadata to keep the admin listing lean; consumers that need the full
history can query the audit log separately.
public sealed record PlatformAdminDto
- Inheritance
-
objectPlatformAdminDto
Constructors
PlatformAdminDto(Guid, string?, string?, Guid?, DateTime, string, bool, DateTime?, Guid?)
Read model exposed by the PlatformAdminsController. Deliberately omits
internal metadata to keep the admin listing lean; consumers that need the full
history can query the audit log separately.
public PlatformAdminDto(Guid UserId, string? Username, string? Email, Guid? GrantedByUserId, DateTime GrantedAtUtc, string Reason, bool IsActive, DateTime? RevokedAtUtc, Guid? RevokedByUserId)
Parameters
UserIdGuidUsernamestringEmailstringGrantedByUserIdGuid?GrantedAtUtcDateTimeReasonstringIsActiveboolRevokedAtUtcDateTime?RevokedByUserIdGuid?
Properties
public string? Email { get; init; }
Property Value
- string
GrantedAtUtc
public DateTime GrantedAtUtc { get; init; }
Property Value
- DateTime
GrantedByUserId
public Guid? GrantedByUserId { get; init; }
Property Value
- Guid?
IsActive
public bool IsActive { get; init; }
Property Value
- bool
Reason
public string Reason { get; init; }
Property Value
- string
RevokedAtUtc
public DateTime? RevokedAtUtc { get; init; }
Property Value
- DateTime?
RevokedByUserId
public Guid? RevokedByUserId { get; init; }
Property Value
- Guid?
UserId
public Guid UserId { get; init; }
Property Value
- Guid
Username
public string? Username { get; init; }
Property Value
- string