# Generated by Django 4.2.27 on 2026-02-06 15:49

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("dingdan", "0013_alter_chufajilu_chuliid"),
    ]

    operations = [
        migrations.AddField(
            model_name="chufajilu",
            name="ssliyou",
            field=models.TextField(blank=True, null=True, verbose_name="打手申诉理由"),
        ),
        migrations.AlterField(
            model_name="chufajilu",
            name="sqzhuangtai",
            field=models.IntegerField(
                blank=True,
                default=0,
                null=True,
                verbose_name="处罚申请状态:0待处理,1成功,2驳回，3申诉",
            ),
        ),
        migrations.AlterField(
            model_name="lilubiao",
            name="lilu",
            field=models.DecimalField(
                decimal_places=4,
                max_digits=5,
                null=True,
                verbose_name="平台分成利率，1是平台,3是商家",
            ),
        ),
        migrations.CreateModel(
            name="Chufatupian",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "dingdan_id",
                    models.CharField(
                        db_index=True, max_length=32, null=True, verbose_name="订单ID"
                    ),
                ),
                (
                    "yonghuid",
                    models.CharField(
                        blank=True,
                        db_index=True,
                        max_length=32,
                        null=True,
                        verbose_name="用户ID",
                    ),
                ),
                (
                    "tupian",
                    models.CharField(
                        blank=True,
                        max_length=500,
                        null=True,
                        verbose_name="证据图片URL",
                    ),
                ),
                (
                    "create_time",
                    models.DateTimeField(auto_now_add=True, verbose_name="创建时间"),
                ),
                (
                    "update_time",
                    models.DateTimeField(auto_now=True, verbose_name="更新时间"),
                ),
            ],
            options={
                "db_table": "chufatupian",
                "indexes": [
                    models.Index(
                        fields=["yonghuid"], name="chufatupian_yonghui_71e585_idx"
                    ),
                    models.Index(
                        fields=["dingdan_id"], name="chufatupian_dingdan_ce0dd4_idx"
                    ),
                ],
            },
        ),
    ]
