Files
fast_api_livetse/backend/schemas.py
Anahita-Mahmoudi b0ff339525 git add .
git commit -m "feat: improve wheel UI with gold pointer and center circle sync"
2026-05-30 14:20:20 +03:30

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