# Generated by Django 3.1.4 on 2021-03-16 19:24

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


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0166_consumerwinner_original_award'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='rebateinvoice',
            options={'verbose_name': '发票记录', 'verbose_name_plural': '发票记录'},
        ),
        migrations.CreateModel(
            name='RebateInvoiceAttach',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('img', models.ImageField(upload_to=sales.models.invoice_img_upload, verbose_name='发票图片')),
                ('invoice', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sales.rebateinvoice', verbose_name='发票记录')),
            ],
        ),
    ]
