# Generated by Django 5.1.2 on 2025-11-14 14:07

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('account', '0032_specialdiscountcode'),
        ('order', '0037_ordermodel_is_stock_rolled_back'),
    ]

    operations = [
        migrations.AddField(
            model_name='cart',
            name='special_discount_code',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='account.specialdiscountcode', verbose_name='کدتخفیف خاص'),
        ),
        migrations.AddField(
            model_name='cartitem',
            name='special_discount_amount',
            field=models.BigIntegerField(default=0, help_text='تخفیف محاسبه شده از سود تنوع', verbose_name='مقدار تخفیف ویژه'),
        ),
        migrations.AddField(
            model_name='orderitemmodel',
            name='special_discount_amount',
            field=models.BigIntegerField(default=0, verbose_name='مقدار تخفیف ویژه'),
        ),
        migrations.AddField(
            model_name='ordermodel',
            name='special_discount_total',
            field=models.BigIntegerField(blank=True, null=True, verbose_name='مجموع تخفیف ویژه'),
        ),
    ]
