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