'integer', 'status' => PaymentStatus::class, ]; } public function userPaymentOption(): BelongsTo { return $this->belongsTo(UserPaymentOption::class); } public function invoices(): HasMany { return $this->hasMany(Invoice::class, 'user_payment_id'); } }