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,20 @@
/// Aktuelle Betrags-Gutschrift einer Lieferung (Geld-Nachlass, unabhängig von
/// Stückzahl). Server-seitig aus dem append-only `delivery_credit_audit`
/// abgeleitet (jüngstes Ereignis); existiert nur, solange der letzte Stand
/// `set` ist.
class DeliveryCredit {
const DeliveryCredit({
required this.deliveryId,
required this.amountCents,
required this.reason,
});
final String deliveryId;
/// Betrag in Cent (> 0, ≤ 15000).
final int amountCents;
final String reason;
/// Betrag in ganzen Euro (die Gutschrift läuft in 10-€-Schritten).
int get amountEuros => (amountCents / 100).round();
}