Files
MES_Core/shiftflow/services/__init__.py
ackFromRedmi e88b861f68
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s
Огромная замена логики
2026-04-06 08:06:37 +03:00

14 lines
488 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
Сервисный слой приложения shiftflow.
Здесь живёт бизнес-логика, которую можно вызывать из:
- view (HTTP)
- admin
- management commands
- фоновых воркеров
Принцип:
- сервисы не зависят от шаблонов/HTML,
- сервисы работают с ORM и транзакциями,
- сервисы содержат правила заводской логики (MES/ERP).
"""