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'); } public function keywords() { return $this->belongsToMany(Keyword::class, 'show_keywords', 'show_id', 'keyword_id'); } public function watchProviders() { return $this->belongsToMany(WatchProvider::class, 'show_watch_providers', 'show_id', 'watch_provider_id'); } public function contentRatings() { return $this->belongsToMany(ContentRating::class, 'show_content_ratings', 'show_id', 'content_rating_id'); } }