11 lines
171 B
Python
11 lines
171 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class FavoritesSchemaInput(BaseModel):
|
|
command: str
|
|
user_id: int
|
|
|
|
|
|
class FavoritesSchemaOutput(FavoritesSchemaInput):
|
|
id: int
|