init
This commit is contained in:
12
app/domain/users/events.py
Normal file
12
app/domain/users/events.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user