belongsTo(Bidders::class, 'idbidders'); } public function paymentMethod() { return $this->hasMany(PaymentMethods::class, 'payment_method', 'pm_id'); } }