# Generated by Django 5.0.6 on 2025-09-02 19:56

import uuid

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("stiftung", "0026_enhance_unterstuetzung_model"),
    ]

    operations = [
        migrations.CreateModel(
            name="HelpBox",
            fields=[
                (
                    "id",
                    models.UUIDField(
                        default=uuid.uuid4,
                        editable=False,
                        primary_key=True,
                        serialize=False,
                    ),
                ),
                (
                    "page_key",
                    models.CharField(
                        choices=[
                            ("destinataer_new", "Neuer Destinatär"),
                            ("unterstuetzung_new", "Neue Unterstützung"),
                            ("foerderung_new", "Neue Förderung"),
                            ("paechter_new", "Neuer Pächter"),
                            ("laenderei_new", "Neue Länderei"),
                            ("verpachtung_new", "Neue Verpachtung"),
                            ("person_new", "Neue Person"),
                            ("konto_new", "Neues Konto"),
                        ],
                        max_length=50,
                        unique=True,
                        verbose_name="Seite",
                    ),
                ),
                (
                    "title",
                    models.CharField(max_length=200, verbose_name="Titel der Hilfsbox"),
                ),
                (
                    "content",
                    models.TextField(
                        help_text="Sie können Markdown verwenden: **fett**, *kursiv*, `code`, [Link](url), etc.",
                        verbose_name="Inhalt (Markdown unterstützt)",
                    ),
                ),
                ("is_active", models.BooleanField(default=True, verbose_name="Aktiv")),
                (
                    "created_at",
                    models.DateTimeField(auto_now_add=True, verbose_name="Erstellt am"),
                ),
                (
                    "updated_at",
                    models.DateTimeField(auto_now=True, verbose_name="Aktualisiert am"),
                ),
                (
                    "created_by",
                    models.CharField(
                        blank=True,
                        max_length=100,
                        null=True,
                        verbose_name="Erstellt von",
                    ),
                ),
                (
                    "updated_by",
                    models.CharField(
                        blank=True,
                        max_length=100,
                        null=True,
                        verbose_name="Aktualisiert von",
                    ),
                ),
            ],
            options={
                "verbose_name": "Hilfs-Infobox",
                "verbose_name_plural": "Hilfs-Infoboxen",
                "ordering": ["page_key"],
            },
        ),
        migrations.AlterField(
            model_name="appconfiguration",
            name="category",
            field=models.CharField(
                choices=[
                    ("paperless", "Paperless Integration"),
                    ("general", "General Settings"),
                    ("corporate", "Corporate Identity"),
                    ("notifications", "Notifications"),
                    ("system", "System Settings"),
                ],
                default="general",
                max_length=50,
                verbose_name="Category",
            ),
        ),
    ]
