1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
Files
AdministrationItDepartmens/backend/app/models/__init__.py
2025-01-02 00:29:04 +06:00

9 lines
401 B
Python

"""Models package"""
from .employee import Employee
from .request import Request, RequestStatus, RequestPriority
# Регистрируем модели в правильном порядке
Employee.requests # Инициализируем отношение
Request.employee # Инициализируем отношение
__all__ = ['Employee', 'Request', 'RequestStatus', 'RequestPriority']