where('is_active', 1)->findAll(); } /** * Get insurance records for a specific plan */ public function getInsurancesByPlan($planId) { return $this->where('plan_id', $planId)->findAll(); } }