hasMany('App\Models\Checkout', 'bidder_num', 'idbidders'); } public function winningBids() { return $this->hasMany('App\Models\WinningBids', 'winning_bidder_num', 'idbidders'); } public function vehicles() { return $this->hasMany('App\Models\Vehicles', 'owner', 'bidder_assigned_number'); } }