Files
geMoldInsight/src/api/inventory/schemas/inventory_schemas.py
T

17 lines
311 B
Python
Raw Normal View History

2026-03-08 22:58:25 +08:00
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