feat: add UserId value object and update ClassifiedAd to use it
This commit is contained in:
7
domain/marketplace/user_id.py
Normal file
7
domain/marketplace/user_id.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from dataclasses import dataclass
|
||||
from uuid import UUID
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class UserId:
|
||||
value: UUID
|
||||
Reference in New Issue
Block a user