belongsTo('App\Models\Judges', 'judge', 'id'); } public function scoredVehicle() { return $this->hasMany('App\Models\Vehicles', 'vehicle', 'owner'); } }