# Generated by Django 3.2.6 on 2021-11-03 09:00

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


class Migration(migrations.Migration):

    dependencies = [
        ('mtm', '0028_auto_20211102_1707'),
        ('pm', '0009_auto_20211029_1017'),
    ]

    operations = [
        migrations.AddField(
            model_name='subproductionplan',
            name='main_count',
            field=models.IntegerField(default=1, verbose_name='应产出数'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='subproductionplan',
            name='main_count_real',
            field=models.IntegerField(default=0, verbose_name='实际产出数'),
        ),
        migrations.AddField(
            model_name='subproductionplan',
            name='main_product',
            field=models.ForeignKey(default=19, on_delete=django.db.models.deletion.CASCADE, to='mtm.material', verbose_name='主要产品'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='subproductionprogress',
            name='count_pick',
            field=models.IntegerField(default=0, verbose_name='实际领用数'),
        ),
        migrations.AddField(
            model_name='subproductionprogress',
            name='is_main',
            field=models.BooleanField(default=False, verbose_name='是否主产出'),
        ),
        migrations.AlterField(
            model_name='subproductionprogress',
            name='count',
            field=models.IntegerField(verbose_name='应出入数'),
        ),
        migrations.AlterField(
            model_name='subproductionprogress',
            name='count_real',
            field=models.IntegerField(default=0, verbose_name='实际消耗/产出数'),
        ),
    ]
