// 字段基本配置接口
interface FieldConfig {
  visible: boolean;
  required: boolean;
  label: string;
}

// 嵌套字段配置接口
interface NestedFieldConfig {
  visible: boolean;
  label: string;
  fields: {
    [key: string]: FieldConfig;
  }
}

// 响应数据接口
interface ProfileFieldsConfig {
  [key: string]: FieldConfig | NestedFieldConfig;
  name: FieldConfig;
  gender: FieldConfig;
  phone: FieldConfig;
  id_card: FieldConfig;
  ethnicity: FieldConfig;
  height: FieldConfig;
  weight: FieldConfig;
  political_status:FieldConfig;
  current_address: FieldConfig;
  household_location: FieldConfig;
  marital_status: FieldConfig;
  expected_salary: FieldConfig;
  family_member: NestedFieldConfig;
  education: NestedFieldConfig;
  work_experience: NestedFieldConfig;
 
}

export type { FieldConfig, NestedFieldConfig, ProfileFieldsConfig }; 