feat: add Money value object
This commit is contained in:
7
domain/marketplace/money.py
Normal file
7
domain/marketplace/money.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from dataclasses import dataclass
|
||||
from decimal import Decimal
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class Money:
|
||||
amount: Decimal
|
||||
Reference in New Issue
Block a user