export interface AuditVO extends BaseEntity {
  id: string | number;
  auditType: number; // 1-公司审核 2-岗位审核
  targetId: string | number;
  auditResult: number; // 0-待审核 1-已审核 2-未通过
  auditRemark: string;
  deposit: string | number;
  finalPayment: string | number;
  auditTime: string;
  auditBy: string | number;
  createTime: string;
  tenantId: string;

  // 企业申请信息（当 auditType = 1 时）
  applyNo?: string;
  companyName?: string;
  officialAccount?: string;
  officeAddress?: string;
  creditCode?: string;
  authLetter?: number;
  mobile?: string;
  surname?: string;
  name?: string;
  avatar?: number;
  applyCreateTime?: string;

  // 岗位申请信息（当 auditType = 2 时）
  postName?: string;
  postDescription?: string;
  workProvince?: string;
  workCity?: string;
  workDistrict?: string;
  workAddress?: string;
  postType?: string;
  postTypeName?: string;
  educationRequirement?: string;
  salaryType?: string;
  salaryRange?: string;
  recruitNum?: number;
  registrationStartDate?: string;
  registrationEndDate?: string;
  isUrgent?: number;
  schoolRequirement?: string;
  schoolRequirementName?: string;
  genderRequirement?: string;
  genderRequirementName?: string;
  gradeRequirement?: string;
  gradeRequirementName?: string;
  arrivalTime?: string;
  arrivalTimeName?: string;
  internshipDuration?: string;
  internshipDurationName?: string;
  willingToTravel?: number;
  welfareTags?: string;
  jobRequirement?: string;
  postLevel?: string;
  postLevelName?: string;
  assessmentTime?: string;
  gradeA?: string | number;
  gradeB?: string | number;
  gradeC?: string | number;
  auditByName?: string;
}

export interface AuditQuery extends PageQuery {
  applyNo?: string;
  auditType?: string | number;
  auditResult?: string | number;
  targetId?: string | number;
}

export interface AuditForm {
  id: string | number;
  auditResult: number;
  auditRemark?: string;
  deposit?: number;
  finalPayment?: number;
}
