Final commit.

This commit is contained in:
Dennis Nemec
2026-06-01 17:12:28 +02:00
parent 3ecbc82885
commit a9bf8ecdd1
385 changed files with 29081 additions and 12089 deletions

View File

@ -0,0 +1,29 @@
/// 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;
}