belongsTo('App\User'); } public function trabalhos(){ return $this->belongsToMany('App\Trabalho'); } }