export interface HrEndOfService {
  id: number;
  company_id: number;
  code: string;
  employee_id: number;
  termination_date: string;
  termination_reason: string;
  last_working_day: string | null;
  years_of_service: number;
  basic_salary: number;
  settlement_amount: number;
  leave_balance_amount: number | null;
  other_entitlements: number | null;
  deductions: number | null;
  net_amount: number;
  status: string;
  approved_by: number | null;
  approved_at: string | null;
  paid_at: string | null;
  notes: string | null;
  employee?: any;
  created_at: string;
  updated_at: string;
}

export interface CreateHrEndOfService {
  employee_id: number;
  termination_date: string;
  termination_reason: string;
  last_working_day?: string | null;
  other_entitlements?: number | null;
  deductions?: number | null;
  notes?: string | null;
}

export interface UpdateHrEndOfService extends Partial<CreateHrEndOfService> {}
