hasMany('App\Vacancy', 'vacancyFormID', 'id'); } public function responses() { return $this->belongsTo('App\Response', 'id', 'id'); } }