feat: collect teamers' meal preferences

This commit is contained in:
2026-08-27 18:27:17 +02:00
parent e7f3233dbc
commit 15a4af93f9
15 changed files with 427 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Enum;
enum MealPreference: string
{
case VEGETARIAN = 'vegetarian';
case VEGAN = 'vegan';
case NONE = 'none';
public function label(): string
{
return match ($this) {
self::VEGETARIAN => 'Vegetarisch',
self::VEGAN => 'Vegan',
self::NONE => 'Keine Präferenz',
};
}
}