# Generated by Django 5.0.6 on 2024-07-04 05:35

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("eggs", "0056_alter_order_count_alter_order_debt_and_more"),
    ]

    operations = [
        migrations.RenameField(
            model_name="party",
            old_name="price",
            new_name="benefit",
        ),
        migrations.RenameField(
            model_name="party",
            old_name="sold_price",
            new_name="cost",
        ),
        migrations.RemoveField(
            model_name="party",
            name="sold",
        ),
        migrations.AddField(
            model_name="party",
            name="remaining_count",
            field=models.IntegerField(
                default=0,
                verbose_name=django.core.validators.MinValueValidator(0),
            ),
        ),
        migrations.AddField(
            model_name="party",
            name="sold_count",
            field=models.IntegerField(
                default=0,
                verbose_name=django.core.validators.MinValueValidator(0),
            ),
        ),
        migrations.AddField(
            model_name="party",
            name="total_cost",
            field=models.DecimalField(
                decimal_places=2, default=0, max_digits=10
            ),
        ),
        migrations.AlterField(
            model_name="party",
            name="count",
            field=models.IntegerField(
                default=0,
                verbose_name=django.core.validators.MinValueValidator(0),
            ),
        ),
    ]
