updates to add show judging
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user