Zwei Stufen (Erinnerung an Materialverantwortliche, Eskalation an Leitungsverantwortliche/Administration) mit Tracking-Zeitstempel je Stufe gegen Mehrfachversand. Zeitschwellen in eskalation_konfiguration (DB, Singleton), admin-editierbar über GET/PUT /eskalation/konfiguration - bewusst nicht fix im Code. Prüflauf per POST /eskalation/pruefen angestoßen, Scheduling (Cron/systemd-Timer) bleibt Betriebsaufgabe. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
46 lines
1.4 KiB
Python
46 lines
1.4 KiB
Python
from app.models.auth import Benutzer, BenutzerRolle, RolleTyp, Systemknoten, KnotenTyp
|
|
from app.models.eskalation import EskalationKonfiguration
|
|
from app.models.fehlbestand import Fehlbestand, FehlbestandStatus
|
|
from app.models.historie import Historie
|
|
from app.models.kontrolle import Kontrolle, KontrollStatus, Kontrollposition
|
|
from app.models.mindermenge import MindermengeStatus, MindermengenGenehmigung
|
|
from app.models.nachfuellung import Nachfuellung
|
|
from app.models.objekt import Objekt, ObjektStatus
|
|
from app.models.objektposition import Objektposition, ObjektpositionStatus
|
|
from app.models.stammdaten import Bereich, Kategorie, Material, MaterialTyp, Objekttyp, Standort
|
|
from app.models.vorlage import Beladungsvorlage, VorlageStatus, Vorlagenposition
|
|
from app.models.zustaendigkeit import Kontrollverantwortung, Zustaendigkeit
|
|
|
|
__all__ = [
|
|
"Benutzer",
|
|
"BenutzerRolle",
|
|
"RolleTyp",
|
|
"Systemknoten",
|
|
"KnotenTyp",
|
|
"EskalationKonfiguration",
|
|
"Fehlbestand",
|
|
"FehlbestandStatus",
|
|
"Historie",
|
|
"Kontrolle",
|
|
"KontrollStatus",
|
|
"Kontrollposition",
|
|
"MindermengeStatus",
|
|
"MindermengenGenehmigung",
|
|
"Nachfuellung",
|
|
"Objekt",
|
|
"ObjektStatus",
|
|
"Objektposition",
|
|
"ObjektpositionStatus",
|
|
"Bereich",
|
|
"Kategorie",
|
|
"Material",
|
|
"MaterialTyp",
|
|
"Objekttyp",
|
|
"Standort",
|
|
"Beladungsvorlage",
|
|
"VorlageStatus",
|
|
"Vorlagenposition",
|
|
"Kontrollverantwortung",
|
|
"Zustaendigkeit",
|
|
]
|