separated clients handlers, cart->checkout ppline

This commit is contained in:
2026-02-11 20:53:47 +07:00
parent 6409d66dfd
commit a3aaafd7ac
20 changed files with 658 additions and 369 deletions

View File

@@ -1,4 +1,5 @@
from dataclasses import dataclass
from typing import Optional
@dataclass(frozen=True)
@@ -17,3 +18,4 @@ class CartItemDTO:
class CartDTO:
items: list[CartItemDTO]
total: int
order_id: Optional[int] = None