belongsTo(PaymentIncident::class, 'incident_id'); } public function getTypeIconAttribute(): string { return match ($this->type) { 'email' => '✉️', 'call' => '📞', 'ticket' => '🎫', 'status_change' => '🔄', 'provider_response' => '💬', default => '📝', }; } public function getTypeLabelAttribute(): string { return match ($this->type) { 'email' => 'E-Mail', 'call' => 'Telefonat', 'ticket' => 'Support-Ticket', 'status_change' => 'Statusänderung', 'provider_response' => 'Anbieter-Antwort', default => 'Notiz', }; } }