# Generated by Django 3.1.4 on 2021-07-08 11:15

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0216_brandrecommender_agent'),
    ]

    operations = [
        migrations.CreateModel(
            name='Salesman',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='时间')),
                ('agent', models.ManyToManyField(to='company.Company', verbose_name='经销商')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='salesman_company', to='company.company', verbose_name='所属企业')),
                ('staff', models.ManyToManyField(to='company.Staff', verbose_name='业务员')),
            ],
            options={
                'verbose_name': '业务员经销商',
                'verbose_name_plural': '业务员经销商',
            },
        ),
    ]
