Skip to content

Datenmodell

Joshua Phu Kuhrau edited this page Jun 2, 2026 · 1 revision

Datenmodell

Kernmodelle

Document

Document
├── id (UUID)
├── title (String)
├── file_path (String)
├── document_type (Enum: invoice, contract, letter, receipt, ...)
├── status (Enum: pending, processed, archived)
├── priority (Enum: low, medium, high, critical)
├── due_date (DateTime, optional)
├── amount (Decimal, optional)
├── sender (String, optional)
├── ai_summary (Text, optional)
├── created_at (DateTime)
└── updated_at (DateTime)

Task

Task
├── id (UUID)
├── title (String)
├── description (Text)
├── status (Enum: open, in_progress, done, cancelled)
├── priority (Enum: low, medium, high, critical)
├── due_date (DateTime, optional)
├── document_id (FK → Document, optional)
└── created_at (DateTime)

CalendarEvent

CalendarEvent
├── id (UUID)
├── title (String)
├── start_datetime (DateTime)
├── end_datetime (DateTime)
├── reminder_minutes (Integer)
├── document_id (FK → Document, optional)
└── synced_at (DateTime, optional)

Reminder

Reminder
├── id (UUID)
├── document_id (FK → Document)
├── remind_at (DateTime)
├── type (Enum: push, email, smart_home)
├── sent (Boolean)
└── created_at (DateTime)

Tech Stack | → Komponenten

Clone this wiki locally