Files
2026-09-04 20:55:42 +03:00

16 lines
310 B
Python

from pydantic import BaseModel
from typing import List
class OrderItem(BaseModel):
name: str
quantity: int
price: float
class OrderResponse(BaseModel):
id: str
client_name: str
client_phone: str
ttn: str
cod_amount: float
fiscal_status: str
items: List[OrderItem] = []