# Generated by Django 3.1.4 on 2021-01-27 19:05

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0133_companycfg_outbound_cretiria_lv2'),
    ]

    operations = [
        migrations.CreateModel(
            name='BrandRecommender',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(db_index=True, max_length=20, verbose_name='姓名')),
                ('cellphone', models.CharField(blank=True, max_length=11, null=True, verbose_name='手机')),
                ('address', models.CharField(blank=True, max_length=100, null=True, verbose_name='地址')),
                ('remark', models.CharField(blank=True, max_length=100, null=True, verbose_name='备注')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='recommender_company', to='company.company', verbose_name='企业名称')),
                ('wxopenid', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='recommender_wxopenid', to='company.wxopenid', verbose_name='微信OpenID')),
            ],
            options={
                'verbose_name': '品牌推荐官',
                'verbose_name_plural': '品牌推荐官',
                'unique_together': {('company', 'name')},
            },
        ),
    ]
