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