# Generated by Django 5.1.2 on 2025-03-30 15:00

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('order', '0026_alter_orderitemmodel_discount_and_more'),
    ]

    operations = [
        migrations.RenameField(
            model_name='orderitemmodel',
            old_name='discount',
            new_name='discount_percent',
        ),
        migrations.RenameField(
            model_name='ordermodel',
            old_name='discount',
            new_name='discount_amount',
        ),
        migrations.RemoveField(
            model_name='ordermodel',
            name='order_id',
        ),
        migrations.AlterField(
            model_name='ordermodel',
            name='status',
            field=models.CharField(choices=[('CART', 'در سبد خرید'), ('ADMIN_PENDING', 'در انتظار تایید'), ('PENDING', 'درحال پردازش'), ('POSTED', 'ارسال شده'), ('RECEIVED', 'تحویل شده'), ('CANCELED', 'لغو شده'), ('REFUNDED', 'مرجوع شده')], default='CART', max_length=20, verbose_name='وضعیت سفارش'),
        ),
    ]
