# Generated by Django 4.2.19 on 2025-04-04 20:37

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("agenda_culturel", "0164_alter_recurrentimport_processor"),
    ]

    operations = [
        migrations.CreateModel(
            name="SpecialPeriod",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.CharField(max_length=255, verbose_name="Period name")),
                ("start_date", models.DateField(verbose_name="Start day")),
                ("end_date", models.DateField(verbose_name="End day")),
                (
                    "periodtype",
                    models.CharField(
                        choices=[
                            ("public holidays", "public holidays"),
                            ("school vacations", "school vacations"),
                        ],
                        default="public holidays",
                        max_length=20,
                        verbose_name="Period type",
                    ),
                ),
            ],
            options={
                "verbose_name": "Special period",
                "verbose_name_plural": "Special periods",
            },
        ),
    ]
