export type UserTableAPIType = {
  deptId: number | "";
  pageNum: number;
  pageSize: number;
  roleId: number | "";
  searchKey: string;
};

export type UserTableListType = {
  createTime: string;
  creatorId: number;
  creatorName: string;
  deptId: number;
  id: number;
  isAdmin: number;
  isEnabled: number;
  nickName: string;
  phone: string;
  realName: string;
  roleId: number;
  roleName: string;
  sex: string;
  thumb: string;
  updateTime: string;
  userName: string;
};

export type SaveUserType = {
  id: number | null;
  userName: string;
  nickName: string;
  roleId: number;
  realName: string;
};
