declare namespace API.ManagementList {
  export interface Manage {
    applyNum?: number;
    companyId?: number;
    companyName?: string;
    education?: string;
    experience?: string;
    isApply?: number;
    isCollection?: number;
    isExplain?: number;
    isHot?: number;
    jobId?: number;
    jobLocation?: string;
    jobLocationAreaCode?: string;
    jobTitle?: string;
    latitude?: number;
    longitude?: number;
    maxSalary?: number;
    minSalary?: number;
    postingDate?: string;
    vacancies?: number;
    view?: number;
    release?: number;
    isPublish?: number;
  }

  export interface AddParams {
    applyNum?: number;
    companyId?: number;
    companyName?: string;
    education?: string;
    experience?: string;
    isApply?: number;
    isCollection?: number;
    isExplain?: number;
    isHot?: number;
    jobId?: number;
    jobLocation?: string;
    jobLocationAreaCode?: string;
    jobTitle?: string;
    latitude?: number;
    longitude?: number;
    maxSalary?: number;
    minSalary?: number;
    postingDate?: string;
    vacancies?: number;
    view?: number;
    release?: number;
    isPublish?: number;
  }

  export interface ListParams {
    createTime?: string;
    updateTime?: string;
    remark?: string;
    pageSize?: number;
    current?: number;
  }

  export interface ManageIdResult {
    code: number;
    msg: string;
    data: Manage;
    rows: Array<any>;
    total: number;
  }

  export interface ManagePageResult {
    code: number;
    msg: string;
    total: number;
    rows: Array<Manage>;
  }
}

declare namespace API.ManagementList {
  // 添加竞争力分析接口返回类型
  export interface CompetitivenessData {
    totalApplicants?: number;
    matchScore?: number;
    rank?: number;
    percentile?: number;
    radarChart?: RadarChart;
  }
  
  export interface RadarChart {
    skill?: number;
    experience?: number;
    education?: number;
    salary?: number;
    age?: number;
    location?: number;
  }
  
  export interface CompetitivenessResult {
    code: number;
    msg: string;
    data: CompetitivenessData;
  }
}
