# Generated by Django 3.1.4 on 2021-08-30 19:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0253_auto_20210830_1925'),
    ]

    operations = [
        migrations.CreateModel(
            name='ActivityAgentAreas',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('saldivision_id', models.IntegerField(blank=True, null=True, verbose_name='战区ID')),
                ('subdivision_id', models.IntegerField(blank=True, null=True, verbose_name='分区ID')),
                ('qty', models.IntegerField(verbose_name='奖项数量')),
                ('dt_fr', models.DateField(verbose_name='开始日期')),
                ('dt_to', models.DateField(verbose_name='结束日期')),
                ('award', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='activityareas_award', to='sales.activityawards', verbose_name='营销活动奖项')),
            ],
            options={
                'verbose_name': '奖项经销商区域设置',
                'verbose_name_plural': '奖项经销商区域设置',
            },
        ),
        migrations.DeleteModel(
            name='ActivityAreas',
        ),
    ]
