# Generated by Django 2.1.7 on 2019-10-24 16:02

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='XfBanquet',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('subject', models.CharField(max_length=100, verbose_name='活动名称')),
                ('code', models.CharField(max_length=20, unique=True, verbose_name='活动编码')),
                ('department', models.IntegerField(blank=True, null=True, verbose_name='归属战区')),
                ('salesman', models.CharField(blank=True, max_length=50, null=True, verbose_name='现场业务员')),
                ('location', models.CharField(blank=True, max_length=100, null=True, verbose_name='活动地点')),
                ('scene_img', models.CharField(blank=True, max_length=100, null=True, verbose_name='现场图片链接')),
                ('host', models.CharField(blank=True, max_length=50, null=True, verbose_name='主办人')),
                ('host_tel', models.CharField(blank=True, max_length=20, null=True, verbose_name='主办人电话')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('remark', models.CharField(blank=True, max_length=50, null=True, verbose_name='备注说明')),
            ],
            options={
                'verbose_name': '西凤婚宴升学宴活动',
                'verbose_name_plural': '西凤婚宴升学宴活动',
            },
        ),
        migrations.CreateModel(
            name='XfBqtDetails',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('bottle_code', models.CharField(max_length=20, verbose_name='瓶标号码')),
                ('box_code', models.CharField(blank=True, max_length=20, null=True, verbose_name='箱标号码')),
                ('fhkey', models.CharField(blank=True, max_length=40, null=True, verbose_name='发货KEY')),
                ('delivery_details_id', models.IntegerField(blank=True, null=True, verbose_name='发货明细ID')),
                ('remark', models.CharField(blank=True, max_length=50, null=True, verbose_name='备注说明')),
                ('tm', models.DateTimeField(default=django.utils.timezone.now, verbose_name='创建时间')),
                ('bqt', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='promotion.XfBanquet', verbose_name='归属活动')),
            ],
            options={
                'verbose_name': '西凤庆宴活动标签',
                'verbose_name_plural': '西凤庆宴活动标签',
            },
        ),
    ]
