2024-03-29 00:29:35 +03:00
|
|
|
from dataclasses import dataclass
|
2024-03-29 00:45:01 +03:00
|
|
|
from uuid import UUID
|
2024-03-06 03:59:16 +03:00
|
|
|
|
2024-03-11 21:07:01 +03:00
|
|
|
|
2024-03-29 00:29:35 +03:00
|
|
|
@dataclass(frozen=True)
|
|
|
|
class UserRequestDTO:
|
|
|
|
name: str
|
|
|
|
email: str
|
2024-03-29 00:45:01 +03:00
|
|
|
password: str
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
|
|
class UserResponseDTO:
|
|
|
|
id: UUID
|
|
|
|
name: str
|
|
|
|
email: str
|