feat: limit room remarks field to 200 characters to align with buspro

This commit is contained in:
Björn Fromme
2026-03-17 10:01:40 +01:00
parent 00df76269a
commit 752e6752b4
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -82,6 +82,10 @@ class ParticipantDto
#[Assert\NotNull(message: 'Bitte ein Zimmer auswählen', groups: ['strict_required'])]
public ?int $assignedRoomId = null;
#[Assert\Length(
max: 200,
maxMessage: 'Der Zimmerwunsch darf maximal {{ limit }} Zeichen lang sein'
)]
public ?string $remarksRoom = null;
public array $courses = [];