# Generated by Django 3.1.4 on 2021-03-09 15:17

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0184_auto_20210309_0805'),
        ('product', '0013_product_brand'),
        ('inventory', '0087_auto_20210309_1158'),
    ]

    operations = [
        migrations.CreateModel(
            name='LabelImageinfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ancestor_id', models.IntegerField(db_index=True, verbose_name='企业ID')),
                ('pihao', models.CharField(db_index=True, max_length=20, verbose_name='批号')),
                ('pici', models.CharField(db_index=True, max_length=20, verbose_name='批次')),
                ('fangweiqr', models.CharField(db_index=True, max_length=20, verbose_name='防伪码')),
                ('first_tm', models.DateTimeField(db_index=True, verbose_name='生产时间')),
                ('check_tm', models.DateTimeField(db_index=True, verbose_name='检验时间')),
                ('check_user', models.CharField(db_index=True, max_length=20, verbose_name='检验员编号')),
                ('ckwszcbh', models.CharField(db_index=True, max_length=20, verbose_name='出口食品卫生注册编号')),
                ('scxkzbh', models.CharField(db_index=True, max_length=20, verbose_name='生产许可证编号')),
                ('origin', models.CharField(db_index=True, max_length=20, verbose_name='酒原产地')),
                ('assembly', models.CharField(db_index=True, max_length=20, verbose_name='生产组装地')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='时间')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='labelimageinfo', to='company.company', verbose_name='公司')),
                ('product', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='productimageinfo', to='product.product')),
            ],
            options={
                'verbose_name': '入库启票',
                'verbose_name_plural': '入库启票',
            },
        ),
    ]
