Production

This commit is contained in:
Shubhankar45
2026-09-22 06:23:46 +00:00
commit 8fdd20b29f
217 changed files with 31212 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
"""Single import point for every ORM model.
Alembic autogenerate and SQLAlchemy's string-based relationship resolution both need
every mapper registered before use. Import this module, never individual model
modules, when you need "all of them".
"""
from app.audit.models import AuditLog
from app.auth.models import RefreshToken
from app.chemists.models import Chemist, ChemistAssignment
from app.csv_data.models import FormApproval
from app.database.base import Base
from app.doctors.models import Doctor, DoctorAssignment
from app.organization.models import AMHeadquarters, Company, Headquarters
from app.products.models import Product
from app.reports.models import ChemistCall, DailyCallReport, DoctorCall
from app.users.models import User
__all__ = [
"Base",
"AuditLog",
"RefreshToken",
"Chemist",
"FormApproval",
"ChemistAssignment",
"Doctor",
"DoctorAssignment",
"AMHeadquarters",
"Company",
"Headquarters",
"ChemistCall",
"DailyCallReport",
"DoctorCall",
"User",
"Product",
]