# Generated by Django 2.1.7 on 2020-12-18 09:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0099_member_headimg'),
    ]

    operations = [
        migrations.AddField(
            model_name='consumerwinner',
            name='activity_name',
            field=models.CharField(blank=True, max_length=200, null=True, verbose_name='活动名称'),
        ),
        migrations.AddField(
            model_name='consumerwinner',
            name='award_amount',
            field=models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True, verbose_name='折合现金'),
        ),
        migrations.AddField(
            model_name='consumerwinner',
            name='award_cat',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='奖品类型'),
        ),
        migrations.AddField(
            model_name='consumerwinner',
            name='award_img',
            field=models.CharField(blank=True, max_length=500, null=True, verbose_name='奖品图片'),
        ),
        migrations.AddField(
            model_name='consumerwinner',
            name='award_name',
            field=models.CharField(blank=True, max_length=200, null=True, verbose_name='奖品名称'),
        ),
        migrations.AddField(
            model_name='consumerwinner',
            name='award_points',
            field=models.IntegerField(blank=True, null=True, verbose_name='奖品积分'),
        ),
        migrations.AlterField(
            model_name='consumerwinner',
            name='activity',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='cunsumerwinner_activity', to='sales.Activities', verbose_name='活动名称'),
        ),
        migrations.AlterField(
            model_name='consumerwinner',
            name='award',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='sales.ActivityAwards', verbose_name='奖项'),
        ),
    ]
