# Generated by Django 3.1.4 on 2023-06-01 15:49

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0332_customizerebate_amt_award'),
    ]

    operations = [
        migrations.AddField(
            model_name='customizerebate',
            name='amt_current_award',
            field=models.SmallIntegerField(choices=[(0, '否'), (1, '是')], default=0, verbose_name='本级返利由奖项指定'),
        ),
        migrations.AddField(
            model_name='customizerebate',
            name='amt_current_val',
            field=models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True, verbose_name='本级返利金额（点值）'),
        ),
        migrations.AddField(
            model_name='customizerebate',
            name='amt_parent_award',
            field=models.SmallIntegerField(choices=[(0, '否'), (1, '是')], default=0, verbose_name='父级返利由奖项指定'),
        ),
        migrations.AddField(
            model_name='customizerebate',
            name='amt_parent_val',
            field=models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True, verbose_name='父级返利金额（点值）'),
        ),
        migrations.AlterUniqueTogether(
            name='customizerebate',
            unique_together={('promotion', 'trigger_lv')},
        ),
        migrations.RemoveField(
            model_name='customizerebate',
            name='amount',
        ),
        migrations.RemoveField(
            model_name='customizerebate',
            name='amt_award',
        ),
        migrations.RemoveField(
            model_name='customizerebate',
            name='target_lv',
        ),
    ]
