Skip to content

Commit e4e48bd

Browse files
committed
new event for new input [batch_quantity_changed_event]
1 parent 1f40682 commit e4e48bd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/allocation/domain/events.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ class BatchCreated(Event):
1616
eta: Optional[date] = None
1717

1818

19+
@dataclass
20+
class BatchQuantityChanged(Event):
21+
ref: str
22+
qty: int
23+
24+
1925
@dataclass
2026
class AllocationRequired(Event):
2127
orderid: str

0 commit comments

Comments
 (0)