tipos)) { $this->tipos = $this->runFactory('tipos'); } return $this->tipos; } public function jsonSerialize(): mixed { return array_merge(parent::jsonSerialize(), [ 'inmobiliaria' => $this->inmobiliaria, 'sociedad' => $this->sociedad, 'tipos' => $this->tipos(), ]); } }