14 lines
214 B
Python
14 lines
214 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class AccessoryEntity(BaseModel):
|
|
id: int
|
|
name: str
|
|
width: float
|
|
height: float
|
|
length: float
|
|
weight: float
|
|
|
|
class Config:
|
|
from_attributes = True
|