PMFlow/backend/app/services/budget_enforcement/service.py

20 lines
525 B
Python

"""Budget enforcement service composition."""
from __future__ import annotations
from .mixin_alerts import BudgetEnforcementAlertsMixin
from .mixin_checks import BudgetEnforcementChecksMixin
from .mixin_storage import BudgetEnforcementStorageMixin
from .shared import AsyncSession
class BudgetEnforcementService(
BudgetEnforcementStorageMixin,
BudgetEnforcementAlertsMixin,
BudgetEnforcementChecksMixin,
):
"""预算强制执行服务。"""
def __init__(self, db: AsyncSession):
self.db = db