# Generated by Django 3.2.6 on 2021-11-16 08:03

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0033_alter_recordformfield_rule_expression'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='recordformfield',
            name='boolean_field_display',
        ),
        migrations.AddField(
            model_name='recordformfield',
            name='display_expression',
            field=models.TextField(blank=True, null=True, verbose_name='字段展现表达式'),
        ),
        migrations.AddField(
            model_name='recordformfield',
            name='help_text',
            field=models.TextField(blank=True, null=True, verbose_name='说明'),
        ),
        migrations.AddField(
            model_name='recordformfield',
            name='is_hidden',
            field=models.BooleanField(default=False, verbose_name='是否隐藏'),
        ),
        migrations.AddField(
            model_name='recordformfield',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='mtm.recordformfield', verbose_name='父'),
        ),
        migrations.AlterField(
            model_name='recordformfield',
            name='field_choice',
            field=models.JSONField(blank=True, default=list, help_text='radio,checkbox,select,multiselect类型可供选择的选项，格式为json如:{"1":"中国", "2":"美国"},注意数字也需要引号', null=True, verbose_name='radio、checkbox、select的选项'),
        ),
    ]
