# Generated by Django 2.1.7 on 2020-06-01 16:16

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),
        ('product', '0004_auto_20200511_1642'),
    ]

    operations = [
        migrations.CreateModel(
            name='AuthQuery',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('what', models.CharField(choices=[('series', '产品系列'), ('product', '产品名称')], max_length=20, verbose_name='授权方式')),
                ('content', models.CharField(blank=True, max_length=200, null=True, verbose_name='授权内容')),
                ('condition', models.CharField(blank=True, max_length=200, null=True, verbose_name='查询条件')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='用户')),
            ],
            options={
                'verbose_name': '市场稽察产品授权',
                'verbose_name_plural': '市场稽察产品授权',
            },
        ),
    ]
