export interface IUserBasic {
    id: string;
    username: string;
    email: string;
    firstName: string | null;
    lastName: string | null;
}
export interface IUser extends IUserBasic {
    createdAt: Date;
    updatedAt: Date;
    passwordResetExpires: Date | null;
    refreshTokenExpires: Date | null;
    roles: Record<string, string[]>;
    deletedAt: Date | null;
    isEnabled: boolean;
    allBorrowers: boolean;
    borrowersAccess: string[];
    lastLogin: Date | null;
}
