rewriting

main
Сергей Ванюшкин 2024-03-29 00:45:01 +03:00
parent 9ce9456d50
commit 08e6aa5cb1
1 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,16 @@
from dataclasses import dataclass from dataclasses import dataclass
from uuid import UUID
# from uuid import UUID
@dataclass(frozen=True) @dataclass(frozen=True)
class UserRequestDTO: class UserRequestDTO:
name: str name: str
email: str email: str
password: str
@dataclass(frozen=True)
class UserResponseDTO:
id: UUID
name: str
email: str