# Generated by Django 3.2.12 on 2024-07-17 08:53

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0034_route_batch_bind'),
        ('wpm', '0054_mlog_fill_way'),
    ]

    operations = [
        migrations.AddField(
            model_name='mlog',
            name='wm_in',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='mlog_wm_in', to='wpm.wmaterial', verbose_name='投入物料所在库存'),
        ),
        migrations.AddField(
            model_name='mlogb',
            name='wm_in',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='wpm.wmaterial', verbose_name='投入物料所在库存'),
        ),
        migrations.AddField(
            model_name='wmaterial',
            name='material_origin',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='wm_mo', to='mtm.material', verbose_name='原始物料'),
        ),
        migrations.AddField(
            model_name='wmaterial',
            name='notok_sign',
            field=models.CharField(blank=True, max_length=10, null=True, verbose_name='不合格标记'),
        ),
        migrations.AlterField(
            model_name='wmaterial',
            name='material',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='wm_m', to='mtm.material', verbose_name='物料'),
        ),
        migrations.AlterUniqueTogether(
            name='wmaterial',
            unique_together=set(),
        ),
    ]
