# Generated by Django 6.0 on 2025-12-30 17:14

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("dingdan", "0007_chufajilu_tuikuanjilu_dingdanshangjia_bhliyou_and_more"),
    ]

    operations = [
        migrations.CreateModel(
            name="Ptliushui",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "zonge",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="收取总金额",
                    ),
                ),
                (
                    "zhichuzonge",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="支出总金额",
                    ),
                ),
                (
                    "zongshouyi",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="总收益",
                    ),
                ),
                (
                    "rizonge",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="日收取",
                    ),
                ),
                (
                    "rizhichu",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="日支出",
                    ),
                ),
                (
                    "rishouyi",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="日收益",
                    ),
                ),
                (
                    "zongshoucishu",
                    models.IntegerField(default=0, verbose_name="总收取次数"),
                ),
                (
                    "rishoucishu",
                    models.IntegerField(default=0, verbose_name="日收取次数"),
                ),
                (
                    "zongzhichucishu",
                    models.IntegerField(default=0, verbose_name="总支出次数"),
                ),
                (
                    "rizhichucishu",
                    models.IntegerField(default=0, verbose_name="日支出次数"),
                ),
            ],
            options={
                "db_table": "ptliushui",
            },
        ),
        migrations.RenameField(
            model_name="tuikuanjilu",
            old_name="cfliyou",
            new_name="liyou",
        ),
        migrations.AlterField(
            model_name="tuikuanjilu",
            name="sqzhuangtai",
            field=models.IntegerField(
                blank=True,
                db_index=True,
                default=0,
                null=True,
                verbose_name="申请状态:0待处理,1成功,2驳回",
            ),
        ),
    ]
