export interface UserDto {
  id: string;
  email: string;
  name: {
    am: string;
    en: string;
  };
  userType: string;
  status: string;
  username: string;
  hasSetPassword: boolean;
  roles: string[];
  permissions: string[];
  employee: EmployeeDto[];
}

export interface EmployeeDto {
  id: string;
  organizationId: string;
  unitId: string;
  positions: PositionDto[];
}

export interface PositionDto {
  id: string;
  employeePositionId: string;
  name: {
    am: string;
    en: string;
  };
  key: string;
  isDelegate: boolean;
  projectId: string | null;
  parentPositionId: string;
  permissions: PermissionDto[];
}

export interface PermissionDto {
  id: string;
  key: string;
}
