# Generated by Django 5.2.7 on 2025-11-11 03:56

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


class Migration(migrations.Migration):

    dependencies = [
        ('stateflow', '0002_remove_state_data_stateparameter'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='process',
            options={'verbose_name': '印染流程', 'verbose_name_plural': '印染流程'},
        ),
        migrations.AlterModelOptions(
            name='state',
            options={'verbose_name': '流程节点', 'verbose_name_plural': '流程节点'},
        ),
        migrations.AlterModelOptions(
            name='stateparameter',
            options={'verbose_name': '工艺参数', 'verbose_name_plural': '工艺参数'},
        ),
        migrations.RemoveField(
            model_name='state',
            name='next',
        ),
        migrations.AddField(
            model_name='state',
            name='previous',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='stateflow.state', verbose_name='上一级状态'),
        ),
    ]
