From 08e6aa5cb1f8b20b1bb5bdac44979a2f48297ac1 Mon Sep 17 00:00:00 2001 From: pi3c Date: Fri, 29 Mar 2024 00:45:01 +0300 Subject: [PATCH] rewriting --- api/schemas/user_schema.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/api/schemas/user_schema.py b/api/schemas/user_schema.py index 8a1a39f..2516b9c 100644 --- a/api/schemas/user_schema.py +++ b/api/schemas/user_schema.py @@ -1,9 +1,16 @@ from dataclasses import dataclass - -# from uuid import UUID +from uuid import UUID @dataclass(frozen=True) class UserRequestDTO: name: str email: str + password: str + + +@dataclass(frozen=True) +class UserResponseDTO: + id: UUID + name: str + email: str