From 1039e46b4c39cacdb79d4ab9a91c94fdd829499b Mon Sep 17 00:00:00 2001 From: Alexis Feron Date: Fri, 17 Jan 2025 14:19:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Update=20pin=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/dto/PinDTO.py | 4 +++- app/models/pin.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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