// server/src/user/dto/user-safe.dto.ts

import { UserRole } from '../user-role.enum';

export type SafeUser = {
  id: string;
  username: string;
  displayName?: string;
  isAdmin: boolean;
  role: UserRole; // Computed property
  tenantId: string;
  createdAt: Date;
  updatedAt: Date;
};
