mirror of
https://github.com/complexcaresolutions/dak.c2s.git
synced 2026-03-17 20:43:41 +00:00
11 models across 4 files matching the MariaDB schema: - user.py: User, RefreshToken, InvitationLink, AllowedDomain - case.py: Case, CaseICDCode - report.py: WeeklyReport, YearlySummary - audit.py: ImportLog, AuditLog, Notification All CHECK constraints, indexes (incl. prefix index), foreign keys, and server defaults match the SQL DDL specification exactly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
593 B
Python
24 lines
593 B
Python
"""SQLAlchemy models for the DAK Zweitmeinungs-Portal."""
|
|
|
|
from app.models.user import AllowedDomain, InvitationLink, RefreshToken, User
|
|
from app.models.case import Case, CaseICDCode
|
|
from app.models.report import WeeklyReport, YearlySummary
|
|
from app.models.audit import AuditLog, ImportLog, Notification
|
|
|
|
__all__ = [
|
|
# User & Auth
|
|
"User",
|
|
"RefreshToken",
|
|
"InvitationLink",
|
|
"AllowedDomain",
|
|
# Cases
|
|
"Case",
|
|
"CaseICDCode",
|
|
# Reports
|
|
"WeeklyReport",
|
|
"YearlySummary",
|
|
# Logging & Notifications
|
|
"ImportLog",
|
|
"AuditLog",
|
|
"Notification",
|
|
]
|