# Generated by Django 6.0.1 on 2026-02-02 05:40

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('shop', '0005_service_alter_esp32config_id_alter_order_id_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='ARService',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=100, verbose_name='体验名称')),
                ('description', models.TextField(verbose_name='简介')),
                ('cover_image', models.ImageField(blank=True, null=True, upload_to='ar/covers/', verbose_name='封面/长图 (上传)')),
                ('cover_image_url', models.URLField(blank=True, null=True, verbose_name='封面/长图 (URL)')),
                ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
            ],
            options={
                'verbose_name': 'AR体验',
                'verbose_name_plural': 'AR体验管理',
            },
        ),
        migrations.AddField(
            model_name='esp32config',
            name='detail_image',
            field=models.ImageField(blank=True, null=True, upload_to='products/details/', verbose_name='详情页长图 (上传)'),
        ),
        migrations.AddField(
            model_name='esp32config',
            name='detail_image_url',
            field=models.URLField(blank=True, help_text='如果填写了URL，将优先使用URL', null=True, verbose_name='详情页长图 (URL)'),
        ),
        migrations.AddField(
            model_name='service',
            name='detail_image_url',
            field=models.URLField(blank=True, null=True, verbose_name='详情页长图 (URL)'),
        ),
        migrations.AddField(
            model_name='service',
            name='icon_url',
            field=models.URLField(blank=True, null=True, verbose_name='图标 (URL)'),
        ),
        migrations.AlterField(
            model_name='service',
            name='detail_image',
            field=models.ImageField(blank=True, null=True, upload_to='services/details/', verbose_name='详情页长图 (上传)'),
        ),
        migrations.AlterField(
            model_name='service',
            name='icon',
            field=models.ImageField(blank=True, null=True, upload_to='services/icons/', verbose_name='图标 (上传)'),
        ),
    ]
