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

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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0252_kangnian_inventorymanipulation_writeofflabel'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='activityawards',
            options={'verbose_name': '营销活动奖项', 'verbose_name_plural': '营销活动奖项'},
        ),
        migrations.CreateModel(
            name='ActivityAreas',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('saldivision_id', models.IntegerField(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': '奖项区域设置',
            },
        ),
    ]
