belongsToMany(Person::class, 'show_cast', 'show_id', 'person_id'); } public function crewList() { return $this->belongsToMany(Person::class, 'show_crew', 'show_id', 'person_id'); } public function images() { return $this->belongsToMany(Image::class, 'show_images', 'show_id', 'image_id'); } public function videos() { return $this->belongsToMany(Video::class, 'show_videos', 'show_id', 'video_id'); } }