# Generated by Django 3.1.4 on 2022-11-18 15:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('inventory', '0183_auto_20221101_0956'),
    ]

    operations = [
        migrations.CreateModel(
            name='receiptdetails',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('wrapper_id', models.IntegerField(blank=True, null=True, verbose_name='标签外包码ID')),
                ('label_code', models.CharField(db_index=True, max_length=32, verbose_name='标签号码')),
                ('label_id', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='标签ID')),
                ('label_pk_id', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='标签PKID')),
                ('product_id', models.IntegerField(blank=True, db_index=True, null=True, verbose_name='产品名称')),
                ('dt', models.DateField(blank=True, db_index=True, null=True, verbose_name='生成日期')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='生成时间')),
                ('label_pkg', models.SmallIntegerField(blank=True, db_index=True, null=True, verbose_name='标签类型')),
                ('remark', models.CharField(blank=True, max_length=100, null=True, verbose_name='备注')),
                ('from_agent_id', models.IntegerField(blank=True, null=True, verbose_name='来源经销商')),
                ('receipt', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='inventory.receipt', verbose_name='Receipt')),
            ],
            options={
                'verbose_name': '确认收货明细记录',
                'verbose_name_plural': '确认收货明细记录',
            },
        ),
    ]
