export interface UserListItem {
  user_id: number;
  user_name: string;
  user_alias: string;
  deptId: number;
}

export interface UserInfo {
  user_name: string;
  user_alias: string;
  phone_number: string;
  password: string;
  remark: string;
  role_name: string;
}

export interface UserListPagination {
  total: number;
  pageSize: number;
  current: number;
}

export interface UserListData {
  list: UserListItem[];
  pagination: Partial<UserListPagination>;
}

export interface UserListParams {
  user_id?: number;
  user_name?: string;
  status?: number;
  pageSize?: number;
  current?: number;
  currentPage?: number;
  filter?: { [key: string]: any[] };
  sorter?: { [key: string]: any };

}

export interface UserListParamsV2 {
  // user_name?: string;
  // page_no?: number;
  // page_size?: number;

  user_name?: string;
  status?: number;
  pageSize?: number;
  current?: number;
  currentPage?: number;
}

export interface RoleList {
  id: number;
  create_user: string;
  created_time: string;
  remark: string;
  is_inherent: boolean;
  role: string[];
  role_alias: string;
  role_name: string;
}




export interface JobList {
  id: number;
  jobName: string;
}

export interface SelectData {
  roleList: RoleList[];
  jobList: JobList[];
}
