# Generated by Django 2.1.7 on 2020-12-16 18:12

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('company', '0096_auto_20201215_1702'),
        ('sales', '0097_auto_20201216_1101'),
    ]

    operations = [
        migrations.AddField(
            model_name='member',
            name='agent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='member_agent_company', to='company.Company', verbose_name='终端名称'),
        ),
        migrations.AddField(
            model_name='member',
            name='grade_id',
            field=models.SmallIntegerField(blank=True, choices=[(1, '消费者'), (2, '经销商'), (3, '业务员')], null=True, verbose_name='用户类型'),
        ),
        migrations.AddField(
            model_name='member',
            name='sales_man',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='member_sales_man_company', to=settings.AUTH_USER_MODEL, verbose_name='业务员'),
        ),
    ]
