export type UserTableAPIType = {
  pageNum: number
  pageSize: number
  userName: string
}

export type UserTableListType = {
  tbStatus: number
  createTime: string
  updateTime: string
  createBy: string | null
  updateBy: string | null
  userId: number
  userName: string
  status: 1 | 0
  roleNames: string
}

export type SaveUserType = {
  password: string
  status: 1 | 0
  userId: number | null
  userName: string
}

export type EditUserType = {
  createBy?: string
  createTime?: string
  password?: string
  status?: 0
  tbStatus?: 0
  updateBy?: ''
  updateTime?: string
  userId: number
  userName?: string
}

export type UserListType = {
  id: number
  label: string
  children: {
    id: number
    label: string
    selected: boolean
  }[]
}
