# Generated by Django 5.2.10 on 2026-02-02 04:56

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('shop', '0003_salesperson_alter_esp32config_options_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='WeChatPayConfig',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('app_id', models.CharField(max_length=50, verbose_name='AppID')),
                ('mch_id', models.CharField(max_length=50, verbose_name='商户号(MchID)')),
                ('api_key', models.CharField(max_length=100, verbose_name='API密钥(Key)')),
                ('app_secret', models.CharField(blank=True, max_length=100, null=True, verbose_name='AppSecret')),
                ('notify_url', models.URLField(verbose_name='回调通知地址')),
                ('is_active', models.BooleanField(default=True, verbose_name='是否启用')),
            ],
            options={
                'verbose_name': '微信支付配置',
                'verbose_name_plural': '微信支付配置',
            },
        ),
        migrations.AlterField(
            model_name='esp32config',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='order',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='salesperson',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
    ]
