import { InterFunction, InterItemFunction } from '~/api/interface';

//飞手列表
export type backListPilotType = InterItemFunction<
  {
    abilityId?: number;
    accountNumber?: string;
    areaNumber?: any;
    auditStatus?: number;
    id?: number;
    licenseType?: string;
  },
  {
    abilityUrl: string;
    age: number;
    areaNumber: number;
    auditStatus: number;
    createTime: string;
    id: number;
    individualResume: string;
    licenseNumber: number;
    licenseType: string;
    licenseUrl: string;
    phoneNum: number;
    pilotAbility: {
      abilityId: number;
      abilityName: string;
      id: number;
    }[];
    remark: string;
    residentCity: string;
    sex: number;
    timeOfApplication: string;
    updateTime: string;
    userAccountId: number;
    userName: number;
    yearsOfWorking: number;
  }[]
>;
//能力类型
export type abilityListType = InterFunction<any, { abilityId: number; abilityName: string }[]>;
