15 lines
255 B
Python
15 lines
255 B
Python
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
|