# Generated by Django 3.2.9 on 2021-12-21 01:23

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('wf', '0018_workflow_key'),
    ]

    operations = [
        migrations.AddField(
            model_name='ticket',
            name='script_run_last_result',
            field=models.BooleanField(default=True, verbose_name='脚本最后一次执行结果'),
        ),
        migrations.AddField(
            model_name='ticketflow',
            name='participant_str',
            field=models.CharField(blank=True, help_text='非人工处理的处理人相关信息', max_length=200, null=True, verbose_name='处理人'),
        ),
        migrations.AlterField(
            model_name='state',
            name='state_fields',
            field=models.JSONField(default=dict, help_text='json格式字典存储,包括读写属性1：只读，2：必填，3：可选, 4:隐藏 示例：{"create_time":1,"title":2, "sn":1}, 内置特殊字段participant_info.participant_name:当前处理人信息(部门名称、角色名称)，state.state_name:当前状态的状态名,workflow.workflow_name:工作流名称', verbose_name='表单字段'),
        ),
        migrations.AlterField(
            model_name='ticket',
            name='title',
            field=models.CharField(blank=True, help_text='工单标题', max_length=500, null=True, verbose_name='标题'),
        ),
        migrations.AlterField(
            model_name='ticketflow',
            name='participant_type',
            field=models.IntegerField(choices=[(0, '无处理人'), (1, '个人'), (2, '多人'), (4, '角色'), (6, '脚本'), (7, '工单的字段'), (9, '代码获取')], default=0, help_text='0.无处理人,1.个人,2.多人等', verbose_name='处理人类型'),
        ),
        migrations.AlterField(
            model_name='workflow',
            name='description',
            field=models.CharField(blank=True, max_length=200, null=True, verbose_name='描述'),
        ),
    ]
