1]; public function translations() { return $this->hasMany(AdvantageTranslation::class); } public function region() { return $this->belongsTo(Region::class); } public function flats() { return $this->hasMany(Flat::class); } public function events() { return $this->hasMany(Event::class); } public function roomTypes() { return $this->hasMany(RoomType::class); } public function images() { return $this->hasMany(ProjectImage::class); } public function advantages() { return $this->belongsToMany(ProjectAdvantage::class, 'project_advantages_project'); } }