export interface User {
  id: number;
  username: string;
  nickname: string;
  email: string;
  avatar?: string;
  tenantId?: number;
  tenantCode?: string;
  roles: string[];
  permissions: string[];
}

export interface LoginForm {
  username: string;
  password: string;
  tenantCode?: string;
  captcha?: string;
}

export interface LoginResponse {
  token: string;
  user: User;
}
