hasMany('Site\Site\Models\Department'); } /** * The cost_centers that belong to the site. */ public function cost_centers(){ return $this->belongsToMany('Site\Site\Models\Center'); } }