13 lines
237 B
Python
13 lines
237 B
Python
from typing import Optional
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class DeliveryEntity(BaseModel):
|
|
id: Optional[int] = None
|
|
count: int
|
|
storage_accessories_id: int
|
|
step_id: int
|
|
|
|
class Config:
|
|
from_attributes = True
|