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