rewriting
parent
9ce9456d50
commit
08e6aa5cb1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue