# Generated by Django 5.2 on 2025-05-07 10:19

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("device_interaction", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="device",
            name="battery_level",
            field=models.IntegerField(
                default=0, help_text="电池电量百分比(0-100)", verbose_name="电量"
            ),
        ),
        migrations.AddField(
            model_name="device",
            name="brightness",
            field=models.IntegerField(
                default=50, help_text="屏幕亮度(0-100)", verbose_name="亮度"
            ),
        ),
        migrations.AddField(
            model_name="device",
            name="firmware_version",
            field=models.CharField(
                blank=True, max_length=50, null=True, verbose_name="固件版本号"
            ),
        ),
        migrations.AddField(
            model_name="device",
            name="status",
            field=models.CharField(
                choices=[("connected", "已连接"), ("disconnected", "未连接")],
                default="disconnected",
                max_length=20,
                verbose_name="设备状态",
            ),
        ),
        migrations.AddField(
            model_name="device",
            name="wifi_name",
            field=models.CharField(
                blank=True, max_length=100, null=True, verbose_name="WiFi名称"
            ),
        ),
        migrations.AddField(
            model_name="device",
            name="wifi_password",
            field=models.CharField(
                blank=True, max_length=100, null=True, verbose_name="WiFi密码"
            ),
        ),
    ]
