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,32 @@
/// Lager-Standort, von dem ein `DeliveryItem` geladen wird.
///
/// `isStandard` markiert das Hauptlager — die App nutzt das, um in der
/// Loading-Übersicht ein „Sonderlager"-Banner zu zeigen, sobald Items aus
/// einem nicht-Standard-Lager kommen.
class Warehouse {
const Warehouse({
required this.id,
required this.name,
required this.code,
required this.isStandard,
});
final String id;
final String name;
final String code;
final bool isStandard;
Warehouse copyWith({
String? id,
String? name,
String? code,
bool? isStandard,
}) {
return Warehouse(
id: id ?? this.id,
name: name ?? this.name,
code: code ?? this.code,
isStandard: isStandard ?? this.isStandard,
);
}
}