export type UserTableAPIType = {
  pageNum: number
  pageSize: number
  searchKey: string
  deptId: any
}

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

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

export const baseFormData: UserTableAPIType = {
  pageNum: 1,
  pageSize: 10,
  searchKey: '',
  deptId: undefined
}
