added some ideas

This commit is contained in:
2024-07-07 10:17:50 +02:00
parent 006b80018a
commit e71c92da40
12 changed files with 4247 additions and 355 deletions

View File

@@ -7,8 +7,6 @@ from uuid import uuid4
# Output to frontend
class Landmark(BaseModel) :
# Unique ID of a given landmark
uuid: str = Field(default_factory=uuid4) # TODO implement this ASAP
# Properties of the landmark
name : str
@@ -21,6 +19,9 @@ class Landmark(BaseModel) :
image_url : Optional[str] = None # TODO future
description : Optional[str] = None # TODO future
duration : Optional[int] = 0 # TODO future
# Unique ID of a given landmark
uuid: str = Field(default_factory=uuid4) # TODO implement this ASAP
# Additional properties depending on specific tour
must_do : bool