# Generated by Django 3.1.4 on 2021-03-22 19:36

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0189_auto_20210322_1432'),
        ('entertainment', '0022_entwriteoff_address'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='actapplication',
            name='agent_id',
        ),
        migrations.RemoveField(
            model_name='actapplication',
            name='parent_id',
        ),
        migrations.AddField(
            model_name='actapplication',
            name='agent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='actapplication_agent', to='company.company', verbose_name='申报经销商/战区分区'),
        ),
        migrations.AddField(
            model_name='actapplication',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='actapplication_parent', to='company.company', verbose_name='规属平台商/战区'),
        ),
        migrations.AlterField(
            model_name='actapplication',
            name='division_id',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='company.salesdivision', verbose_name='所属战区'),
        ),
        migrations.AlterField(
            model_name='actapplication',
            name='subdivision_id',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='company.subsaldivision', verbose_name='所属分区'),
        ),
    ]
