# Generated by Django 3.2.6 on 2021-10-24 15:49

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('wf', '0015_auto_20211021_1049'),
    ]

    operations = [
        migrations.AddField(
            model_name='state',
            name='participant_cc',
            field=models.JSONField(blank=True, default=list, help_text='抄送给(userid列表)', verbose_name='抄送给'),
        ),
        migrations.AddField(
            model_name='ticketflow',
            name='participant_cc',
            field=models.JSONField(blank=True, default=list, help_text='抄送给(userid列表)', verbose_name='抄送给'),
        ),
        migrations.AddField(
            model_name='wfscript',
            name='func_str',
            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='函数名'),
        ),
        migrations.AlterField(
            model_name='state',
            name='participant_type',
            field=models.IntegerField(blank=True, choices=[(0, '无处理人'), (1, '个人'), (2, '多人'), (4, '角色'), (6, '脚本'), (7, '工单的字段'), (9, '代码获取')], default=1, help_text='0.无处理人,1.个人,2.多人,3.部门,4.角色,5.变量(支持工单创建人,创建人的leader),6.脚本,7.工单的字段内容(如表单中的"测试负责人"，需要为用户名或者逗号隔开的多个用户名),8.父工单的字段内容。 初始状态请选择类型5，参与人填create_by', verbose_name='参与者类型'),
        ),
        migrations.AlterField(
            model_name='ticket',
            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='ticketflow',
            name='intervene_type',
            field=models.IntegerField(choices=[(0, '正常处理'), (1, '转交'), (2, '加签'), (3, '加签处理完成'), (4, '接单'), (5, '评论'), (6, '删除'), (7, '强制关闭'), (8, '强制修改状态'), (9, 'hook操作'), (10, '撤回'), (11, '抄送')], default=0, help_text='流转类型', 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='wfscript',
            name='usage',
            field=models.IntegerField(choices=[(1, '获取处理人'), (2, '执行操作')], default=2, verbose_name='脚本用途'),
        ),
    ]
