belongsTo(User::class, 'user_id'); } public function paymentGateway() { return $this->belongsTo(PaymentMethod::class, 'payment_method_id'); } }