13 lines
229 B
Python
13 lines
229 B
Python
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
from datetime import datetime
|
|
from uuid import UUID
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UserRegistered:
|
|
user_id: UUID
|
|
email: str
|
|
occurred_at: datetime
|