# Generated by Django 3.1.4 on 2021-07-21 09:31

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0230_companycfg_wx_transfer_amt'),
        ('sales', '0235_auto_20210721_0736'),
    ]

    operations = [
        migrations.CreateModel(
            name='ActivityRebate_BrandRecommenderRedpackRecord',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('openid', models.CharField(max_length=100, verbose_name='openid')),
                ('remark', models.CharField(blank=True, max_length=100, null=True, verbose_name='remark')),
                ('return_code', models.CharField(blank=True, max_length=100, null=True, verbose_name='return_code')),
                ('result_code', models.CharField(blank=True, max_length=100, null=True, verbose_name='result_code')),
                ('activity', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='sales.activities', verbose_name='返利活动')),
                ('bonus', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sales.activityrebate_brandrecommenderbonus', verbose_name='返利记录')),
                ('company_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='公司')),
            ],
            options={
                'verbose_name': '品牌推荐官返利支付表',
                'verbose_name_plural': '品牌推荐官返利支付表',
            },
        ),
    ]
