belongsTo(Order::class); } public function paymentStatus(): BelongsTo { return $this->belongsTo(PaymentStatus::class); } protected function status(): Attribute { return Attribute::make(fn () => $this->paymentStatus?->name); } }