# Generated by Django 3.2.6 on 2021-11-11 01:18

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


class Migration(migrations.Migration):

    dependencies = [
        ('inm', '0013_alter_materialbatch_batch'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='fifo',
            name='warehouse',
        ),
        migrations.AddField(
            model_name='fifoitem',
            name='warehouse',
            field=models.ForeignKey(default=2, on_delete=django.db.models.deletion.CASCADE, to='inm.warehouse', verbose_name='仓库'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='fifoitem',
            name='count',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)], verbose_name='数量'),
        ),
        migrations.AlterField(
            model_name='inventory',
            name='count',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)], verbose_name='仓库物料存量'),
        ),
        migrations.AlterField(
            model_name='materialbatch',
            name='count',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)], verbose_name='存量'),
        ),
    ]
