# Generated by Django 3.2.12 on 2023-09-01 01:27

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('ecm', '0011_event_global_img_compressed'),
    ]

    operations = [
        migrations.AddField(
            model_name='event',
            name='current_level',
            field=models.PositiveSmallIntegerField(choices=[(10, '低风险'), (20, '一般风险'), (30, '较大风险'), (40, '重大风险')], default=10, help_text="((10, '低风险'), (20, '一般风险'), (30, '较大风险'), (40, '重大风险'))", verbose_name='当前等级'),
        ),
        migrations.AddField(
            model_name='eventcate',
            name='is_auto_escalate',
            field=models.BooleanField(default=False, verbose_name='是否自动升级'),
        ),
        migrations.AddField(
            model_name='eventcate',
            name='origin_level',
            field=models.PositiveSmallIntegerField(choices=[(10, '低风险'), (20, '一般风险'), (30, '较大风险'), (40, '重大风险')], default=10, help_text="((10, '低风险'), (20, '一般风险'), (30, '较大风险'), (40, '重大风险'))", verbose_name='初始等级'),
        ),
        migrations.AlterField(
            model_name='eventcate',
            name='trigger',
            field=models.PositiveSmallIntegerField(choices=[(10, '监控'), (20, '定位'), (30, '其他')], default=10, verbose_name='触发方式'),
        ),
    ]
