git commit -m "feat: improve wheel UI with gold pointer and center circle sync"
20 lines
277 B
Python
20 lines
277 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class ItemCreate(BaseModel):
|
|
title: str
|
|
value: int
|
|
|
|
|
|
class ItemUpdate(BaseModel):
|
|
title: str
|
|
value: int
|
|
|
|
|
|
class ItemResponse(BaseModel):
|
|
id: int
|
|
title: str
|
|
value: int
|
|
|
|
class Config:
|
|
from_attributes = True |