export interface WorkExperience {
  id: string;
  employee_id: string;
  company_name: string;
  position_held: string;
  start_date: string;
  end_date?: string;
  is_current: boolean;
  responsibilities?: string;
  reason_for_leaving?: string;
  reference_name?: string;
  reference_phone?: string;
  created_at: string;
  updated_at: string;
}

export type CreateWorkExperiencePayload = {
  id?: string;
  company_name: string;
  position_held: string;
  start_date: string;
  end_date?: string;
  is_current?: boolean;
  responsibilities?: string;
  reason_for_leaving?: string;
  reference_name?: string;
  reference_phone?: string;
};

export type UpdateWorkExperiencePayload = {
  employee_id?: string;
} & CreateWorkExperiencePayload;

export interface DeleteWorkExperiencePayload {
  employee_id: string;
  experience_id: string;
}

export interface DeleteWorkExperienceResponse {
  message: string;
  id?: string;
}
