feat(CORE-001A): add decimal unit value foundation

This commit is contained in:
Bu5hm4nn
2026-03-24 21:33:17 +01:00
parent 5ac66ea97b
commit a69fdf6762
5 changed files with 1153 additions and 9 deletions

19
app/domain/__init__.py Normal file
View File

@@ -0,0 +1,19 @@
from app.domain.units import (
BaseCurrency,
Money,
PricePerWeight,
Weight,
WeightUnit,
decimal_from_float,
to_decimal,
)
__all__ = [
"BaseCurrency",
"WeightUnit",
"Money",
"Weight",
"PricePerWeight",
"to_decimal",
"decimal_from_float",
]