# Generated by Django 4.2.29 on 2026-03-20 11:53

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('generation', '0006_anomaly_detection_phase2'),
    ]

    operations = [
        migrations.AddField(
            model_name='generationrecord',
            name='base_cost_amount',
            field=models.DecimalField(decimal_places=2, default=0, max_digits=12, verbose_name='平台成本(元)'),
        ),
        migrations.AddField(
            model_name='generationrecord',
            name='cost_amount',
            field=models.DecimalField(decimal_places=2, default=0, max_digits=12, verbose_name='用户费用(元)'),
        ),
        migrations.AddField(
            model_name='generationrecord',
            name='frozen_amount',
            field=models.DecimalField(decimal_places=2, default=0, max_digits=12, verbose_name='冻结金额(元)'),
        ),
        migrations.AddField(
            model_name='generationrecord',
            name='resolution',
            field=models.CharField(blank=True, default='', max_length=10, verbose_name='分辨率'),
        ),
        migrations.AddField(
            model_name='generationrecord',
            name='tokens_consumed',
            field=models.IntegerField(default=0, verbose_name='消耗tokens'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='base_token_price',
            field=models.DecimalField(decimal_places=2, default=46, max_digits=10, verbose_name='基础token单价(元/百万tokens)'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='default_daily_generation_limit',
            field=models.IntegerField(default=50, verbose_name='默认每日生成次数'),
        ),
        migrations.AddField(
            model_name='quotaconfig',
            name='default_monthly_generation_limit',
            field=models.IntegerField(default=1500, verbose_name='默认每月生成次数'),
        ),
    ]
