# Generated by Django 3.1.4 on 2021-06-11 09:57

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0211_third_party_label_bind_remark'),
        ('sales', '0195_auto_20210521_1051'),
    ]

    operations = [
        migrations.CreateModel(
            name='Activities_Code_Range',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('code_start', models.CharField(blank=True, max_length=20, null=True, verbose_name='开始号码')),
                ('code_end', 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=100, null=True, verbose_name='备注说明')),
                ('activity', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='sales.activities', verbose_name='活动名称')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='公司名称')),
            ],
            options={
                'verbose_name': '活动标签范围',
                'verbose_name_plural': '活动标签范围',
            },
        ),
    ]
