Producs on FE

This commit is contained in:
Eden Kirin
2023-03-31 10:19:21 +02:00
parent c9707c0523
commit 210a6aff7c
10 changed files with 100 additions and 7 deletions

View File

@ -8,7 +8,6 @@ from pydantic.generics import GenericModel
from hopper.api.dto import BaseModel, BoardDto, DestinationDto, PlayerDto, PositionDto
from hopper.enums import ObjectType
from hopper.models.product import Product
class LayerObjectDto(BaseModel):
@ -24,6 +23,7 @@ class LayerDto(BaseModel):
class ProductDto(BaseModel):
name: str
uuid: str
description: Optional[str] = None
class GameDumpPlayerDto(PlayerDto):