namespace CashLineERP.Application.Identity;

public sealed record AdminUserView(
    long UserId,
    string LoginName,
    string DisplayName,
    string UserTypeCode,
    string? Email,
    long? BranchId,
    long? PartyId,
    bool IsActive,
    bool IsLocked,
    IReadOnlyCollection<string> RoleCodes,
    IReadOnlyCollection<string> FunctionCodes,
    DateTime DateOfJoiningUtc,
    DateTime? DateOfSuspensionUtc,
    string? LatestActionCode,
    string? LastAdminActionReason);
