# Generated by Django 5.2.8 on 2026-01-07 08:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('printing', '0027_add_created_by_to_printingorder_and_printingjob'),
        ('stateflow', '0021_statelogparameterrecord'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='printingjobbatchadvancerecord',
            options={'verbose_name': '印染任务批量操作记录', 'verbose_name_plural': '印染任务批量操作记录'},
        ),
        migrations.AddField(
            model_name='printingjobbatchadvancerecord',
            name='only_parameters',
            field=models.BooleanField(default=False, help_text='True=仅补充参数（不推进状态），False=批量推进状态', verbose_name='仅参数补充'),
        ),
        migrations.AlterField(
            model_name='printingjobbatchadvancerecord',
            name='parameters',
            field=models.JSONField(blank=True, default=dict, help_text='批量操作时提交的参数', verbose_name='工艺参数'),
        ),
        migrations.AlterField(
            model_name='printingjobbatchadvancerecord',
            name='state',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='printing_job_batch_advance_records', to='stateflow.state', verbose_name='操作的流程节点'),
        ),
    ]
