Adding the PinDTO (for the patch route)

master
Alix JEUDI--LEMOINE 4 months ago
parent de439ac08d
commit 88879b111d

@ -0,0 +1,5 @@
from pydantic import BaseModel
class PinDTO(BaseModel):
title: str
description: str

@ -1,4 +1,5 @@
from .UserRegisterDTO import UserRegisterDTO
from .FriendAddDTO import FriendAddDTO
from .FriendListDTO import FriendListDTO
from .UserDTO import UserDTO
from .UserDTO import UserDTO
from .PinDTO import PinDTO
Loading…
Cancel
Save