public function getDelegadosAttribute() { $plantilla = Delegado::with('socio')->where('club_id', $this->id)->get(); return $plantilla; }