This commit is contained in:
2026-03-08 22:58:25 +08:00
parent 3e19e45e9a
commit 1bdc75cee2
25 changed files with 1086 additions and 790 deletions
@@ -0,0 +1,16 @@
from pydantic import BaseModel
class InventoryResponse(BaseModel):
id: int
product_id: int
product_name: str
product_sku: str
warehouse_id: int
warehouse_name: str
quantity: int
locked_quantity: int
available_quantity: int
class Config:
from_attributes = True