dbfdg hasOne('App\Models\JobApplication','id','candidate'); } public function users() { return $this->hasOne('App\Models\User', 'id', 'employee'); } }