# Mustervorlagen (Backend) Kopiervorlagen für ein neues Workflow-Modul (Model + Schema + Router + Migration + Test), abgeleitet vom aktuellsten sauberen Muster im Projekt: `hours_payouts` (Migration 0042). Reihenfolge beim Bau eines neuen Moduls: 1. `model_template.py` → `app/models/.py` 2. `schema_template.py` → `app/schemas/.py` 3. `router_template.py` → `app/routers/.py`, in `app/main.py` registrieren 4. `migration_template.py` → `migrations/versions/00XX_.py`, `conftest.py` RLS nachziehen 5. `test_template.py` → `tests/test_.py` Jede Datei hat einen Anleitung-Docstring am Kopf. Kern-Fallstricke sind dort verlinkt (RLS-Bypass + mid-request commit, Company-Isolation, conftest.py-Replikation). Diese Ordner werden NICHT von der App importiert (kein `__init__.py`) – reine Vorlagen.