diff --git a/app/dto/PinDTO.py b/app/dto/PinDTO.py new file mode 100644 index 0000000..c2b22ae --- /dev/null +++ b/app/dto/PinDTO.py @@ -0,0 +1,5 @@ +from pydantic import BaseModel + +class PinDTO(BaseModel): + title: str + description: str \ No newline at end of file diff --git a/app/dto/__init__.py b/app/dto/__init__.py index a6f30f0..cb3deeb 100644 --- a/app/dto/__init__.py +++ b/app/dto/__init__.py @@ -1,4 +1,5 @@ from .UserRegisterDTO import UserRegisterDTO from .FriendAddDTO import FriendAddDTO from .FriendListDTO import FriendListDTO -from .UserDTO import UserDTO \ No newline at end of file +from .UserDTO import UserDTO +from .PinDTO import PinDTO \ No newline at end of file