diff --git a/app/dto/PinDTO.py b/app/dto/PinDTO.py index c2b22ae..c30ddbd 100644 --- a/app/dto/PinDTO.py +++ b/app/dto/PinDTO.py @@ -2,4 +2,6 @@ from pydantic import BaseModel class PinDTO(BaseModel): title: str - description: str \ No newline at end of file + description: str + location: str + files: list \ No newline at end of file diff --git a/app/models/pin.py b/app/models/pin.py index fe30c08..ec4677f 100644 --- a/app/models/pin.py +++ b/app/models/pin.py @@ -4,4 +4,6 @@ from pydantic import BaseModel class Pin(BaseModel): id: Optional[str] title: str - description: str \ No newline at end of file + description: str + location: str + files: Optional[list] \ No newline at end of file