from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('jituan', '0006_club_huiyuan_trial_fields'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClubShangpinLeixingConfig',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('club_id', models.CharField(db_index=True, max_length=16)),
                ('leixing_id', models.IntegerField(db_index=True, verbose_name='全局商品类型ID')),
                ('is_enabled', models.BooleanField(default=True, verbose_name='是否上架')),
                ('tupian_url', models.CharField(blank=True, default='', max_length=500, verbose_name='俱乐部专属图标')),
                ('paixu', models.IntegerField(default=0, verbose_name='排序权重')),
                ('CreateTime', models.DateTimeField(auto_now_add=True)),
                ('UpdateTime', models.DateTimeField(auto_now=True)),
            ],
            options={
                'db_table': 'club_shangpin_leixing_config',
                'unique_together': {('club_id', 'leixing_id')},
            },
        ),
        migrations.CreateModel(
            name='ClubKaoheChenghaoConfig',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('club_id', models.CharField(db_index=True, max_length=16)),
                ('chenghao_id', models.IntegerField(db_index=True, verbose_name='全局称号ID')),
                ('is_enabled', models.BooleanField(default=True, verbose_name='是否在抢单池筛选区展示')),
                ('CreateTime', models.DateTimeField(auto_now_add=True)),
                ('UpdateTime', models.DateTimeField(auto_now=True)),
            ],
            options={
                'db_table': 'club_kaohe_chenghao_config',
                'unique_together': {('club_id', 'chenghao_id')},
            },
        ),
    ]
