diff --git a/repos/games-xxwif7/models/footbal_model.py b/repos/games-xxwif7/models/footbal_model.py new file mode 100644 index 0000000..1c69ce4 --- /dev/null +++ b/repos/games-xxwif7/models/footbal_model.py @@ -0,0 +1,2 @@ +class Game(Base): + __tablename__ = "games" \ No newline at end of file diff --git a/repos/games-xxwif7/schemas/footbal_schema.py b/repos/games-xxwif7/schemas/footbal_schema.py new file mode 100644 index 0000000..d034c31 --- /dev/null +++ b/repos/games-xxwif7/schemas/footbal_schema.py @@ -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") \ No newline at end of file