# Generated by Django 4.2.29 on 2026-03-12 09:12

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('generation', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='quotaconfig',
            options={'verbose_name': '系统配置', 'verbose_name_plural': '系统配置'},
        ),
        migrations.RemoveField(
            model_name='quotaconfig',
            name='default_daily_limit',
        ),
        migrations.RemoveField(
            model_name='quotaconfig',
            name='default_monthly_limit',
        ),
        migrations.AddField(
            model_name='generationrecord',
            name='seconds_consumed',
            field=models.FloatField(default=0, verbose_name='消费秒数'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='announcement',
            field=models.TextField(blank=True, default='', verbose_name='系统公告'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='announcement_enabled',
            field=models.BooleanField(default=False, verbose_name='启用公告'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='default_daily_seconds_limit',
            field=models.IntegerField(default=600, verbose_name='默认每日秒数上限'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='default_monthly_seconds_limit',
            field=models.IntegerField(default=6000, verbose_name='默认每月秒数上限'),
        ),
        migrations.AlterField(
            model_name='generationrecord',
            name='duration',
            field=models.IntegerField(verbose_name='视频时长(秒)'),
        ),
    ]
