from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("mission", "0004_missioncategory_refactor"),
    ]

    operations = [
        migrations.AddField(
            model_name="mission",
            name="notify_if_unreplied",
            field=models.BooleanField(db_index=True, default=False, verbose_name="是否开启未回复提醒"),
        ),
        migrations.AddField(
            model_name="mission",
            name="unreplied_last_notified_at",
            field=models.DateTimeField(blank=True, null=True, verbose_name="上一次未回复提醒时间"),
        ),
        migrations.AddField(
            model_name="mission",
            name="unreplied_notify_interval_minutes",
            field=models.PositiveIntegerField(blank=True, null=True, verbose_name="未回复提醒间隔（分钟）"),
        ),
        migrations.AddField(
            model_name="mission",
            name="unreplied_notify_max_count",
            field=models.PositiveIntegerField(default=5, verbose_name="未回复最大提醒次数"),
        ),
        migrations.AddField(
            model_name="mission",
            name="unreplied_notify_sent_count",
            field=models.PositiveIntegerField(default=0, verbose_name="未回复已提醒次数"),
        ),
    ]