from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('jituan', '0014_club_mini_pay_channel_and_ledger'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClubRechargePageCopy',
            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, verbose_name='俱乐部ID')),
                ('page_key', models.CharField(db_index=True, max_length=16, verbose_name='huiyuan|yajin')),
                ('region_key', models.CharField(db_index=True, max_length=32, verbose_name='rules|benefits|advantages')),
                ('title', models.CharField(blank=True, default='', max_length=64, verbose_name='区域标题')),
                ('items_json', models.JSONField(blank=True, default=list, verbose_name='条目列表JSON')),
                ('enabled', models.BooleanField(default=True, verbose_name='是否启用该区域')),
                ('sort_order', models.IntegerField(default=0)),
                ('CreateTime', models.DateTimeField(auto_now_add=True)),
                ('UpdateTime', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': '充值页文案配置',
                'db_table': 'club_recharge_page_copy',
                'unique_together': {('club_id', 'page_key', 'region_key')},
            },
        ),
    ]
