updates to add show judging

This commit is contained in:
2019-07-11 20:55:45 -04:00
parent 7cdea664e1
commit c2aced484d
34 changed files with 2341 additions and 318 deletions

25
app/Models/Judges.php Normal file
View File

@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Judges extends Model
{
protected $table = 'judges';
protected $fillable = [
'judge_number',
'created_at',
'updated_at'
];
protected $dates = [
'created_at',
'updated_at'
];
public function vehicleScores()
{
return $this->hasMany('App\Models\VehicleScores', 'judge', 'id');
}
}