# Generated by Django 3.2.12 on 2023-11-03 05:59

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('mtm', '0023_auto_20231102_1128'),
        ('inm', '0007_alter_mioitem_mio'),
    ]

    operations = [
        migrations.AddField(
            model_name='mioitem',
            name='count_n_dl',
            field=models.PositiveIntegerField(default=0, verbose_name='断裂'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_dxt',
            field=models.PositiveIntegerField(default=0, verbose_name='大小头'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_jsqx',
            field=models.PositiveIntegerField(default=0, verbose_name='结石气线'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_pb',
            field=models.PositiveIntegerField(default=0, verbose_name='偏壁'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_qp',
            field=models.PositiveIntegerField(default=0, verbose_name='气泡'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_qt',
            field=models.PositiveIntegerField(default=0, verbose_name='其他'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_tw',
            field=models.PositiveIntegerField(default=0, verbose_name='条纹'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_wq',
            field=models.PositiveIntegerField(default=0, verbose_name='弯曲'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_n_zw',
            field=models.PositiveIntegerField(default=0, verbose_name='炸纹'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='count_notok',
            field=models.PositiveIntegerField(default=0, verbose_name='不合格数'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='test_date',
            field=models.DateField(blank=True, null=True, verbose_name='检验日期'),
        ),
        migrations.AddField(
            model_name='mioitem',
            name='test_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='检验人'),
        ),
        migrations.AlterUniqueTogether(
            name='materialbatch',
            unique_together={('material', 'batch', 'warehouse')},
        ),
    ]
