# Generated by Django 3.2.9 on 2021-11-19 00:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('pm', '0013_alter_subproductionplan_subproduction'),
        ('qm', '0010_rename_m_state_testrecord_material'),
    ]

    operations = [
        migrations.AddField(
            model_name='testrecord',
            name='is_testok_robot',
            field=models.BooleanField(default=True, verbose_name='自动判定的是否合格'),
        ),
        migrations.AddField(
            model_name='testrecord',
            name='number',
            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='产品编号'),
        ),
        migrations.AddField(
            model_name='testrecord',
            name='subproduction_plan',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='pm.subproductionplan', verbose_name='关联的生产子计划'),
        ),
        migrations.AddField(
            model_name='testrecorditem',
            name='is_testok_robot',
            field=models.BooleanField(blank=True, null=True, verbose_name='自动判定的是否合格'),
        ),
    ]
