from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("atlas", "0098_casecollection_case_query_messaging_enabled"),
    ]

    operations = [
        migrations.AddField(
            model_name="casedetail",
            name="answer_entry_grace_period_override",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="Optional per-case override for additional answer-only time in seconds after case view lock.",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="casedetail",
            name="question_time_limit_override",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="Optional per-case override for the answer time limit in seconds.",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="casecollection",
            name="answer_entry_grace_period",
            field=models.PositiveIntegerField(
                blank=True,
                default=0,
                help_text="Additional seconds after the case view is locked during which answers can still be entered.",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="casecollection",
            name="end_overview_content",
            field=models.TextField(
                blank=True,
                help_text="Optional HTML content shown on the collection end overview screen.",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="casecollection",
            name="end_overview_resources",
            field=models.ManyToManyField(
                blank=True,
                help_text="Optional resources shown on the collection end overview screen.",
                related_name="end_overview_collections",
                to="atlas.resource",
            ),
        ),
        migrations.AddField(
            model_name="casecollection",
            name="start_screen_content",
            field=models.TextField(
                blank=True,
                help_text="Optional HTML content shown on the collection start screen (for example embedded resources).",
                null=True,
            ),
        ),
        migrations.AddField(
            model_name="casecollection",
            name="start_screen_resources",
            field=models.ManyToManyField(
                blank=True,
                help_text="Optional resources shown on the collection start screen.",
                related_name="start_screen_collections",
                to="atlas.resource",
            ),
        ),
    ]
