# Generated by Django 3.1.4 on 2021-07-27 09:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('product', '0018_series_icon'),
        ('company', '0237_auto_20210727_0913'),
        ('inventory', '0107_auto_20210712_1433'),
        ('sales', '0244_kangnian_inventorymanipulation_from_agent'),
    ]

    operations = [
        migrations.CreateModel(
            name='KangNian_StorehouseInventoryManipulation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('reason', models.CharField(blank=True, max_length=100, null=True, verbose_name='操作说明')),
                ('amount', models.IntegerField(blank=True, null=True, verbose_name='数量')),
                ('tm', models.DateTimeField(auto_now_add=True, null=True, verbose_name='时间')),
                ('agent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='经销商库存')),
                ('product', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='product.product', verbose_name='产品信息')),
                ('storehouse', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='inventory.storehouse', verbose_name='仓库')),
            ],
            options={
                'verbose_name': '康年皇冠仓库库存管理',
                'verbose_name_plural': '康年皇冠仓库库存管理',
            },
        ),
    ]
