Lege das Datenmodell und den Anfrageservice der Kommunikationsverwaltung an

Anliegen, Feldkatalog, Feldgruppen, Anfragevorlagen mit unveränderlichen Fassungen,
Anfrage-Einstiege und eingegangene Anfragen. Eine gemeinsame Regelauswertung bedient
Besucher, Vorschau und Anfrageservice; Werte nicht mehr relevanter Felder werden verworfen,
Anliegen und Auswahlwerte serverseitig geprüft, doppeltes Absenden bleibt eine Anfrage.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-27 17:26:42 +01:00
1 parent 9e2d64a4a9
commit 2ee1fc9866
30 files changed
+3380

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Domain\Communication;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class InquiryNote extends Model
{
protected $fillable = ['inquiry_id', 'user_id', 'body'];
public function inquiry(): BelongsTo
{
return $this->belongsTo(Inquiry::class);
}
public function author(): BelongsTo
{
return $this->belongsTo(User::class, 'user_id');
}
}