/// Eingabetyp eines Service. `boolean` → Checkbox, `numeric` → Zahlenfeld /// mit optionalen Grenzen. enum ServiceKind { boolean, numeric } /// Service-Stammdatensatz (früher „Lieferoption") — admin-konfigurierbar. /// In Phase 4 rendert die App aus den aktiven Services die Auswahl. class Service { const Service({ required this.id, required this.key, required this.name, required this.kind, required this.active, required this.sortOrder, this.minValue, this.maxValue, }); final String id; final String key; final String name; final ServiceKind kind; final bool active; final int sortOrder; /// Nur bei [ServiceKind.numeric] relevant. final int? minValue; final int? maxValue; }