Update model/schema files: models/footbal_model.py, schemas/footbal_schema.py

This commit is contained in:
Backend IM Bot 2025-03-25 08:20:09 +01:00
parent 1794062fa2
commit 87a96ec4d8
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
class Game(Base):
__tablename__ = "games"

View File

@ -0,0 +1,5 @@
class GameSchema(BaseModel):
id: int = Field(None, description="The ID of the game")
name: str = Field(..., description="The name of the game")
description: str = Field(..., description="The description of the game")
is_multiplayer: bool = Field(..., description="Whether the game is multiplayer or not")