relation updates

This commit is contained in:
2022-08-08 14:57:49 -04:00
parent 6191923269
commit e618bd4b56
3 changed files with 5 additions and 5 deletions

View File

@ -25,11 +25,11 @@ class Checkout extends Model
public function bidders()
{
return $this->belongsTo('App\Models\Bidders', 'bidder_num', 'idbidders');
return $this->belongsTo(Bidders::class, 'idbidders');
}
public function paymentMethod()
{
return $this->hasMany('App\Models\PaymentMethods', 'payment_method', 'pm_id');
return $this->hasMany(PaymentMethods::class, 'payment_method', 'pm_id');
}
}