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

View File

@ -25,7 +25,7 @@ class Bidders extends Model
'created_at',
'updated_at'
];
public function checkout()
{
return $this->hasMany('App\Models\Checkout', 'bidder_num', 'idbidders');
@ -35,4 +35,9 @@ class Bidders extends Model
{
return $this->hasMany('App\Models\WinningBids', 'winning_bidder_num', 'idbidders');
}
public function vehicles()
{
return $this->hasMany('App\Models\Vehicles', 'owner', 'bidder_assigned_number');
}
}