belongsTo(Judges::class, 'judge_number', 'id'); } public function scoredVehicle() { return $this->hasMany(Vehicles::class, 'owner'); } }