# Generated by Django 6.0 on 2026-01-07 22:46

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("yonghu", "0015_remove_userdashou_user_dashou_zhuangt_f427c0_idx_and_more"),
    ]

    operations = [
        migrations.CreateModel(
            name="Tixianjilu",
            fields=[
                (
                    "id",
                    models.AutoField(
                        primary_key=True, serialize=False, verbose_name="提现记录ID"
                    ),
                ),
                (
                    "yonghuid",
                    models.CharField(
                        db_index=True, max_length=7, verbose_name="提现用户ID"
                    ),
                ),
                (
                    "avatar",
                    models.CharField(
                        blank=True, max_length=500, null=True, verbose_name="头像"
                    ),
                ),
                (
                    "phone",
                    models.CharField(
                        blank=True, max_length=11, null=True, verbose_name="手机号"
                    ),
                ),
                (
                    "nicheng",
                    models.CharField(max_length=50, null=True, verbose_name="打手昵称"),
                ),
                (
                    "leixing",
                    models.PositiveIntegerField(
                        blank=True, null=True, verbose_name="提现类型1:打手2：管事"
                    ),
                ),
                (
                    "zhifu",
                    models.CharField(
                        blank=True, max_length=500, null=True, verbose_name="收款码图片"
                    ),
                ),
                (
                    "skzhanghao",
                    models.CharField(
                        blank=True, max_length=11, null=True, verbose_name="收款账号"
                    ),
                ),
                (
                    "jine",
                    models.DecimalField(
                        blank=True,
                        decimal_places=2,
                        max_digits=10,
                        null=True,
                        verbose_name="提现金额",
                    ),
                ),
                (
                    "zhuangtai",
                    models.IntegerField(
                        blank=True,
                        db_index=True,
                        default=1,
                        null=True,
                        verbose_name="订单状态",
                    ),
                ),
                (
                    "fangshi",
                    models.IntegerField(
                        blank=True,
                        db_index=True,
                        null=True,
                        verbose_name="收款方式1:微信2：支付宝",
                    ),
                ),
                (
                    "shenheid",
                    models.CharField(
                        db_index=True,
                        max_length=7,
                        null=True,
                        verbose_name="审核用户ID",
                    ),
                ),
                (
                    "bhliyou",
                    models.TextField(blank=True, null=True, verbose_name="驳回理由"),
                ),
                (
                    "create_time",
                    models.DateTimeField(auto_now_add=True, verbose_name="创建时间"),
                ),
                (
                    "update_time",
                    models.DateTimeField(auto_now=True, verbose_name="更新时间"),
                ),
            ],
            options={
                "verbose_name": "提现记录表",
                "verbose_name_plural": "提现记录表",
                "db_table": "tixianjilu",
            },
        ),
        migrations.RemoveIndex(
            model_name="usermain",
            name="user_main_phone_c76495_idx",
        ),
        migrations.AddField(
            model_name="usermain",
            name="skzhanghao",
            field=models.CharField(
                blank=True, max_length=11, null=True, verbose_name="收款账号"
            ),
        ),
        migrations.AddField(
            model_name="usermain",
            name="zhifu",
            field=models.CharField(
                blank=True, max_length=500, null=True, verbose_name="收款码图片"
            ),
        ),
        migrations.AlterField(
            model_name="usermain",
            name="phone",
            field=models.CharField(
                blank=True, max_length=11, null=True, verbose_name="手机号"
            ),
        ),
        migrations.AddIndex(
            model_name="tixianjilu",
            index=models.Index(
                fields=["yonghuid"], name="tixianjilu_yonghui_8083bb_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="tixianjilu",
            index=models.Index(
                fields=["zhuangtai"], name="tixianjilu_zhuangt_839d8e_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="tixianjilu",
            index=models.Index(
                fields=["shenheid"], name="tixianjilu_shenhei_470e0c_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="tixianjilu",
            index=models.Index(
                fields=["fangshi"], name="tixianjilu_fangshi_a1e0bc_idx"
            ),
        ),
    ]
