# Generated by Django 3.2.12 on 2023-10-16 08:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0015_mgroup_need_enm'),
    ]

    operations = [
        migrations.AddField(
            model_name='route',
            name='material_in',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='route_material_in', to='mtm.material', verbose_name='主要输入物料'),
        ),
        migrations.AddField(
            model_name='route',
            name='material_out',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='route_material_out', to='mtm.material', verbose_name='主要输出物料'),
        ),
        migrations.AlterField(
            model_name='route',
            name='material',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='mtm.material', verbose_name='关联产品'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='route',
            name='process',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='mtm.process', verbose_name='工序'),
            preserve_default=False,
        ),
    ]
