init
This commit is contained in:
14
app/application/users/dto.py
Normal file
14
app/application/users/dto.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
from uuid import UUID
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class UserDTO:
|
||||
id: UUID
|
||||
email: str
|
||||
full_name: str
|
||||
is_active: bool
|
||||
created_at: datetime
|
||||
Reference in New Issue
Block a user