export interface LoginRequest {
  userName: string;
  passWord: string | string[];
}
export interface LoginResponse {
  token: string;
  user: {
    id: number;
    nickName: string;
    realName: string;
    phone: string;
    thumb: string;
    isAdmin: boolean;
    isEnabled: boolean;
  };
}

export interface UpdatePwdRequest {
  newPassword: string | string[];
  oldPassword: string | string[];
}

export enum ResponseStatusCode {
  SUCCESS = 0,
  TOKEN_INVALID = 5001,
  TOKEN_INVALID2 = 5002,
}

export * from "./log";
export * from "./user";
