# Generated by Django 3.1.4 on 2021-07-20 18:59

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),
        ('sales', '0232_auto_20210720_1452'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='rebatetransfer',
            name='operator_id',
        ),
        migrations.AddField(
            model_name='rebatetransfer',
            name='operator',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='rebatetransfer_user', to=settings.AUTH_USER_MODEL, verbose_name='操作人'),
        ),
        migrations.AddField(
            model_name='rebatetransfer',
            name='rebateclosing',
            field=models.ForeignKey(default=15, on_delete=django.db.models.deletion.CASCADE, related_name='rebatetransfer_closing', to='sales.rebateclosing', verbose_name='会计期'),
            preserve_default=False,
        ),
    ]
