# Generated by Django 3.2.12 on 2024-08-12 02:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('wpm', '0050_auto_20240701_0936'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('qm', '0017_alter_testitem_field_type'),
    ]

    operations = [
        migrations.AddField(
            model_name='ftestwork',
            name='count_notok_json',
            field=models.JSONField(blank=True, default=dict, verbose_name='不合格项数量统计'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='submit_time',
            field=models.DateTimeField(blank=True, null=True, verbose_name='提交时间'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='submit_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='提交人'),
        ),
        migrations.AddField(
            model_name='ftestwork',
            name='wm',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='wpm.wmaterial', verbose_name='关联车间库存'),
        ),
        migrations.AlterField(
            model_name='ftestwork',
            name='count',
            field=models.IntegerField(verbose_name='检验数量'),
        ),
    ]
