# Generated by Django 6.0.4 on 2026-06-07 04:17

import apps.events.models
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('events', '0004_alter_event_event_type'),
    ]

    operations = [
        migrations.CreateModel(
            name='OfficeCalendarEntry',
            fields=[
                ('id', models.UUIDField(default=apps.events.models.uuid7, editable=False, primary_key=True, serialize=False)),
                ('title', models.CharField(max_length=255)),
                ('entry_type', models.CharField(choices=[('holiday', 'Holiday'), ('event', 'Office Event')], default='holiday', max_length=20)),
                ('date', models.DateField()),
                ('end_date', models.DateField(blank=True, null=True)),
                ('recurring', models.BooleanField(default=False, help_text='Repeats yearly on the same month/day.')),
                ('description', models.TextField(blank=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Office calendar entry',
                'verbose_name_plural': 'Office calendar entries',
                'db_table': 'office_calendar_entry',
                'ordering': ['date'],
                'indexes': [models.Index(fields=['date'], name='office_cale_date_e8d94c_idx')],
            },
        ),
    ]
