# Generated by Django 4.2.27 on 2026-06-17 21:18

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Chufajilu',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('dashouid', models.CharField(db_index=True, max_length=7, null=True, verbose_name='被罚打手ID')),
                ('qingqiuid', models.CharField(db_index=True, max_length=11, null=True, verbose_name='请求处罚ID')),
                ('chuliid', models.CharField(db_index=True, max_length=11, null=True, verbose_name='处理处罚ID')),
                ('cfliyou', models.TextField(blank=True, null=True, verbose_name='处罚理由')),
                ('ssliyou', models.TextField(blank=True, null=True, verbose_name='打手申诉理由')),
                ('sqzhuangtai', models.IntegerField(blank=True, default=0, null=True, verbose_name='处罚申请状态:0待处理,1成功,2驳回')),
                ('bhliyou', models.TextField(blank=True, null=True, verbose_name='驳回处罚理由')),
                ('jifen', models.IntegerField(default=0, verbose_name='扣除打手积分')),
                ('dingdan_id', models.CharField(db_index=True, max_length=32, null=True, verbose_name='订单ID')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'chufajilu',
            },
        ),
        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')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'chufatupian',
            },
        ),
        migrations.CreateModel(
            name='Dashoutupian',
            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')),
                ('dashou', 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')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'dashoutupian',
            },
        ),
        migrations.CreateModel(
            name='Dingdan',
            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, unique=True, verbose_name='订单ID')),
                ('zhuangtai', models.IntegerField(blank=True, db_index=True, default=1, null=True, verbose_name='订单状态')),
                ('fadan_pingtai', models.IntegerField(blank=True, null=True, verbose_name='发单平台')),
                ('jine', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='订单金额')),
                ('dashou_fencheng', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='打手分成')),
                ('guanshi_fencheng', models.DecimalField(blank=True, decimal_places=2, default=0, max_digits=10, null=True, verbose_name='管事分成')),
                ('jiedan_dashou_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='接单打手ID')),
                ('dashou_liuyan', models.TextField(blank=True, null=True, verbose_name='打手留言')),
                ('zhiding_id', models.CharField(blank=True, max_length=32, null=True, verbose_name='指定ID')),
                ('shangpin_id', models.IntegerField(blank=True, null=True, verbose_name='商品ID')),
                ('leixing_id', models.PositiveIntegerField(blank=True, null=True, verbose_name='商品类型ID')),
                ('tupian', models.CharField(blank=True, max_length=500, null=True, verbose_name='商品图片URL')),
                ('yaoqiuleixing', models.PositiveIntegerField(blank=True, null=True, verbose_name='抢单要求类型')),
                ('huiyuan_id', models.CharField(blank=True, max_length=6, null=True, verbose_name='会员ID')),
                ('yongjin', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='佣金要求')),
                ('jieshao', models.TextField(blank=True, null=True, verbose_name='订单介绍')),
                ('beizhu', models.TextField(blank=True, null=True, verbose_name='订单备注')),
                ('nicheng', models.CharField(blank=True, max_length=50, null=True, verbose_name='游戏昵称')),
                ('user1_id', models.CharField(db_index=True, max_length=30, null=True, verbose_name='用户1标识')),
                ('user2_id', models.CharField(db_index=True, max_length=30, null=True, verbose_name='用户2打手标识')),
                ('auto_task_id', models.CharField(blank=True, default='', max_length=255, verbose_name='延时任务ID')),
                ('auto_expire_at', models.DateTimeField(blank=True, null=True, verbose_name='计划过期时间')),
                ('pending_dispatch', models.BooleanField(db_index=True, default=False, verbose_name='待调度标记')),
                ('status_8_time', models.DateTimeField(blank=True, null=True, verbose_name='状态变为8的时间')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
                ('clkf', models.CharField(db_index=True, max_length=20, null=True, verbose_name='处理客服')),
                ('tkly', models.CharField(blank=True, max_length=500, null=True, verbose_name='退款/拒绝理由')),
                ('wechat_transaction_id', models.CharField(blank=True, db_index=True, max_length=64, null=True, verbose_name='微信支付订单号')),
            ],
            options={
                'verbose_name': '订单',
                'verbose_name_plural': '订单',
                'db_table': 'dingdan',
            },
        ),
        migrations.CreateModel(
            name='DingdanPeihu',
            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, unique=True, verbose_name='订单ID')),
                ('zhudashou_id', models.CharField(db_index=True, max_length=32, verbose_name='主打手ID')),
                ('peihu1_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='陪护1打手ID')),
                ('peihu2_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='陪护2打手ID')),
                ('zhuangtai', models.IntegerField(default=1, verbose_name='陪护订单状态')),
                ('peihu_xuqiu_shuliang', models.IntegerField(default=1, verbose_name='陪护需求数量')),
                ('yongjin_yaoqiu', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='抢单佣金要求')),
                ('peihu1_dengji_xuqiu', models.PositiveIntegerField(blank=True, null=True, verbose_name='陪护1等级需求(称号ID)')),
                ('peihu2_dengji_xuqiu', models.PositiveIntegerField(blank=True, null=True, verbose_name='陪护2等级需求(称号ID)')),
                ('peihu1_zhadan_danze', models.CharField(blank=True, max_length=10, null=True, verbose_name='陪护1炸单担责比例')),
                ('peihu2_zhadan_danze', models.CharField(blank=True, max_length=10, null=True, verbose_name='陪护2炸单担责比例')),
                ('peihu1_fenhong', models.CharField(blank=True, max_length=10, null=True, verbose_name='陪护1分红比例')),
                ('peihu2_fenhong', models.CharField(blank=True, max_length=10, null=True, verbose_name='陪护2分红比例')),
                ('zhiding_peihu1', models.CharField(blank=True, max_length=32, null=True, verbose_name='指定陪护1 ID')),
                ('zhiding_peihu2', models.CharField(blank=True, max_length=32, null=True, verbose_name='指定陪护2 ID')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'verbose_name': '陪护订单',
                'verbose_name_plural': '陪护订单',
                'db_table': 'dingdan_peihu',
            },
        ),
        migrations.CreateModel(
            name='DingdanPingtai',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('laoban_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='老板ID')),
                ('laoban_pingjia', models.TextField(blank=True, null=True, verbose_name='老板评价')),
                ('jjjs_biaoshi', models.IntegerField(default=0, verbose_name='拒绝结算标记(1表示拒绝结算)')),
                ('pingtai_shouyi', models.DecimalField(blank=True, decimal_places=2, default=0.0, max_digits=10, null=True, verbose_name='平台收益')),
                ('dianpu_shouyi', models.DecimalField(blank=True, decimal_places=2, default=0.0, max_digits=10, null=True, verbose_name='店铺收益')),
                ('dianpu_id', models.PositiveIntegerField(blank=True, db_index=True, null=True, verbose_name='所属店铺ID')),
                ('shangji_dianpu_id', models.PositiveIntegerField(blank=True, db_index=True, null=True, verbose_name='该订单的上级店铺ID')),
                ('shangji_fenhong', models.DecimalField(blank=True, decimal_places=2, default=0.0, max_digits=10, null=True, verbose_name='上级分红金额')),
            ],
            options={
                'verbose_name': '平台订单扩展',
                'verbose_name_plural': '平台订单扩展',
                'db_table': 'dingdan_pingtai',
            },
        ),
        migrations.CreateModel(
            name='DingdanShangjia',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('shangjia_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='商家ID')),
                ('shangjia_pingjia', models.TextField(blank=True, null=True, verbose_name='商家评价')),
                ('cfliyou', models.TextField(blank=True, null=True, verbose_name='商家处罚理由')),
                ('sqzhuangtai', models.IntegerField(blank=True, default=0, null=True, verbose_name='处罚申请状态:0待处理,1成功,2驳回')),
                ('bhliyou', models.TextField(blank=True, null=True, verbose_name='驳回商家处罚理由')),
                ('sjnicheng', models.CharField(max_length=50, null=True, verbose_name='商家昵称')),
                ('shangyige_dingdan_id', models.CharField(blank=True, max_length=32, null=True, verbose_name='上一个订单ID')),
            ],
            options={
                'verbose_name': '商家订单扩展',
                'verbose_name_plural': '商家订单扩展',
                'db_table': 'dingdan_shangjia',
            },
        ),
        migrations.CreateModel(
            name='Fadan',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='自增主键')),
                ('beichufa_id', models.CharField(db_index=True, max_length=20, verbose_name='被处罚用户ID')),
                ('shenqing_chufa', models.CharField(blank=True, max_length=20, null=True, verbose_name='申请处罚者ID')),
                ('shenfen', models.IntegerField(choices=[(1, '打手'), (2, '管事'), (3, '商家'), (4, '组长')], default=1, verbose_name='被处罚者身份')),
                ('chufaliyou', models.TextField(blank=True, null=True, verbose_name='处罚理由')),
                ('fakuanjine', models.DecimalField(decimal_places=2, default=0.0, max_digits=10, verbose_name='罚款金额')),
                ('guanliandingdan_id', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='关联订单ID')),
                ('zhuangtai', models.IntegerField(choices=[(1, '待缴纳'), (2, '已缴纳'), (3, '申诉中'), (4, '已驳回')], db_index=True, default=1, verbose_name='罚单状态')),
                ('yingxiang_qiangdan', models.IntegerField(choices=[(1, '影响抢单'), (0, '不影响抢单')], db_index=True, default=1, verbose_name='是否影响抢单')),
                ('shensuliyou', models.TextField(blank=True, null=True, verbose_name='申诉理由')),
                ('tongyi_chufaliyou', models.TextField(blank=True, null=True, verbose_name='同意处罚理由')),
                ('bohuiliyou', models.TextField(blank=True, null=True, verbose_name='驳回理由')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
                ('shenqingren_shenfen', models.IntegerField(choices=[(1, '客服'), (2, '售后'), (3, '管理员'), (4, '店铺'), (5, '商家')], default=1, verbose_name='申请处罚人身份')),
                ('chulizhe_shenfen', models.IntegerField(choices=[(1, '客服'), (2, '售后'), (3, '管理员')], default=2, verbose_name='处理者身份')),
                ('chulizhe', models.CharField(blank=True, max_length=20, null=True, verbose_name='处理者')),
                ('shenqingren_fenhong_jine', models.DecimalField(decimal_places=2, default=0.0, max_digits=12, verbose_name='申请人分红金额')),
            ],
            options={
                'verbose_name': '罚单',
                'verbose_name_plural': '罚单',
                'db_table': 'fadan',
            },
        ),
        migrations.CreateModel(
            name='FadanFenhongLilv',
            fields=[
                ('shenfen', models.IntegerField(choices=[(1, '客服'), (2, '售后'), (3, '管理员'), (4, '店铺'), (5, '商家')], primary_key=True, serialize=False, verbose_name='申请处罚人身份')),
                ('lilv', models.DecimalField(decimal_places=4, default=0.0, max_digits=5, verbose_name='分红费率')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'verbose_name': '罚款分红费率配置',
                'verbose_name_plural': '罚款分红费率配置',
                'db_table': 'fadan_fenhong_lilv',
            },
        ),
        migrations.CreateModel(
            name='Lilubiao',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('lilu', models.DecimalField(decimal_places=4, max_digits=5, null=True, verbose_name='平台分成利率，1是平台,2是商家')),
                ('fadanpingtai', models.CharField(max_length=10, null=True, verbose_name='订单所属平台，（商家或平台）')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'lilubiao',
            },
        ),
        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.CreateModel(
            name='Tuikuanjilu',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('dingdan_id', models.CharField(max_length=32, unique=True, verbose_name='订单ID')),
                ('dashouid', models.CharField(max_length=7, null=True, verbose_name='接单打手ID')),
                ('qingqiuid', models.CharField(max_length=7, null=True, verbose_name='请求用户ID')),
                ('chuliid', models.CharField(db_index=True, max_length=11, null=True, verbose_name='处理人ID')),
                ('liyou', models.TextField(blank=True, null=True, verbose_name='理由')),
                ('sqzhuangtai', models.IntegerField(blank=True, db_index=True, default=0, null=True, verbose_name='申请状态:0待处理,1成功,2驳回')),
                ('bhliyou', models.TextField(blank=True, null=True, verbose_name='驳回理由')),
                ('jine', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='订单金额')),
                ('dashou_fencheng', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True, verbose_name='打手分成')),
                ('jieshao', models.TextField(blank=True, null=True, verbose_name='订单介绍')),
                ('beizhu', models.TextField(blank=True, null=True, verbose_name='订单备注')),
                ('nicheng', models.CharField(blank=True, max_length=50, null=True, verbose_name='游戏昵称')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'tuikuanjilu',
                'indexes': [models.Index(fields=['chuliid'], name='tuikuanjilu_chuliid_0b0f16_idx'), models.Index(fields=['sqzhuangtai'], name='tuikuanjilu_sqzhuan_d89dc9_idx')],
            },
        ),
        migrations.CreateModel(
            name='Pingfen',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('dashou', models.CharField(blank=True, db_index=True, max_length=32, null=True, verbose_name='接单打手ID')),
                ('zongfen', models.PositiveIntegerField(default=0, verbose_name='总分')),
                ('cishu', models.PositiveIntegerField(default=0, verbose_name='评分次数')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'verbose_name': '评分表',
                'db_table': 'pingfenbiao',
                'indexes': [models.Index(fields=['dashou'], name='pingfenbiao_dashou_f62f10_idx')],
            },
        ),
        migrations.CreateModel(
            name='OrderDashouHistory',
            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, verbose_name='订单ID')),
                ('dashou_id', models.CharField(db_index=True, max_length=7, verbose_name='打手ID')),
                ('times', models.PositiveSmallIntegerField(verbose_name='第几次接单（从1开始）')),
                ('operator', models.CharField(max_length=11, verbose_name='操作客服ID')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
            ],
            options={
                'verbose_name': '订单打手变更历史',
                'verbose_name_plural': '订单打手变更历史',
                'db_table': 'order_dashou_history',
                'indexes': [models.Index(fields=['dingdan_id'], name='order_dasho_dingdan_1e79ab_idx'), models.Index(fields=['dashou_id'], name='order_dasho_dashou__0a637c_idx')],
            },
        ),
        migrations.CreateModel(
            name='Liaotian',
            fields=[
                ('id', models.BigAutoField(primary_key=True, serialize=False, verbose_name='主键ID')),
                ('user1_id', models.CharField(db_index=True, max_length=30, verbose_name='用户1标识')),
                ('user2_id', models.CharField(db_index=True, max_length=30, verbose_name='用户2标识')),
                ('dingdan_id', models.CharField(max_length=32, unique=True, verbose_name='订单ID')),
                ('zhuangtai', models.IntegerField(choices=[(1, '开启中'), (0, '已关闭')], db_index=True, default=1, verbose_name='聊天状态')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'liaotian',
                'indexes': [models.Index(fields=['user1_id'], name='liaotian_user1_i_6be6cd_idx'), models.Index(fields=['user2_id'], name='liaotian_user2_i_9f61a4_idx'), models.Index(fields=['zhuangtai'], name='liaotian_zhuangt_5e8be5_idx')],
            },
        ),
        migrations.CreateModel(
            name='FadanShensuTupian',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('beichufa_id', models.CharField(db_index=True, max_length=7, verbose_name='被处罚用户ID')),
                ('tupian_url', models.CharField(max_length=500, verbose_name='图片相对URL')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('yongtu', models.IntegerField(choices=[(1, '处罚证据图片'), (2, '申诉图片')], default=2, verbose_name='图片用途')),
                ('fadan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='shensu_tupians', to='orders.fadan', verbose_name='关联罚单')),
            ],
            options={
                'verbose_name': '罚款申诉图片',
                'verbose_name_plural': '罚款申诉图片',
                'db_table': 'fadan_shensu_tupian',
            },
        ),
        migrations.CreateModel(
            name='FadanFenhong',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='自增主键')),
                ('fenhongzhe_id', models.CharField(db_index=True, max_length=20, verbose_name='分红者ID')),
                ('zonge', models.DecimalField(decimal_places=2, default=0.0, max_digits=12, verbose_name='分红总额')),
                ('ketixian_fenhong', models.DecimalField(decimal_places=2, default=0.0, max_digits=12, verbose_name='可提现分红')),
                ('shenfen', models.IntegerField(choices=[(1, '商家'), (2, '客服'), (3, '平台管理者'), (4, '店铺'), (5, '售后')], default=1, verbose_name='分红者身份')),
                ('fenhong_cishu', models.IntegerField(default=0, verbose_name='分红次数')),
                ('is_individual_rate', models.BooleanField(default=False, verbose_name='是否单独开启分红利率')),
                ('yingde_lilv', models.DecimalField(decimal_places=4, default=0.0, max_digits=5, verbose_name='分红应得利率')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'verbose_name': '罚款分红',
                'verbose_name_plural': '罚款分红',
                'db_table': 'fadan_fenhong',
                'indexes': [models.Index(fields=['fenhongzhe_id'], name='fadan_fenhong_zhe_idx'), models.Index(fields=['shenfen'], name='fadan_fenhong_sf_idx')],
            },
        ),
        migrations.AddIndex(
            model_name='fadan',
            index=models.Index(fields=['beichufa_id', 'yingxiang_qiangdan', 'zhuangtai'], name='fadan_qiangdan_check'),
        ),
        migrations.AddIndex(
            model_name='fadan',
            index=models.Index(fields=['guanliandingdan_id'], name='fadan_dingdan_idx'),
        ),
        migrations.AddField(
            model_name='dingdanshangjia',
            name='dingdan',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='shangjia_kuozhan', to='orders.dingdan', verbose_name='订单'),
        ),
        migrations.AddField(
            model_name='dingdanpingtai',
            name='dingdan',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='pingtai_kuozhan', to='orders.dingdan', verbose_name='订单'),
        ),
        migrations.AddIndex(
            model_name='dingdanpeihu',
            index=models.Index(fields=['zhudashou_id'], name='dingdan_pei_zhudash_583f4e_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanpeihu',
            index=models.Index(fields=['peihu1_id'], name='dingdan_pei_peihu1__728279_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanpeihu',
            index=models.Index(fields=['peihu2_id'], name='dingdan_pei_peihu2__77e45e_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanpeihu',
            index=models.Index(fields=['zhuangtai'], name='dingdan_pei_zhuangt_22eaf6_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdan',
            index=models.Index(fields=['zhuangtai'], name='dingdan_zhuangt_2febe8_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdan',
            index=models.Index(fields=['dingdan_id'], name='dingdan_dingdan_83dcb6_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdan',
            index=models.Index(fields=['jiedan_dashou_id'], name='dingdan_jiedan__921bfa_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdan',
            index=models.Index(fields=['wechat_transaction_id'], name='dingdan_wechat__278b79_idx'),
        ),
        migrations.AddIndex(
            model_name='dashoutupian',
            index=models.Index(fields=['dashou'], name='dashoutupia_dashou_7de8bd_idx'),
        ),
        migrations.AddIndex(
            model_name='dashoutupian',
            index=models.Index(fields=['dingdan_id'], name='dashoutupia_dingdan_97c685_idx'),
        ),
        migrations.AddIndex(
            model_name='chufatupian',
            index=models.Index(fields=['yonghuid'], name='chufatupian_yonghui_71e585_idx'),
        ),
        migrations.AddIndex(
            model_name='chufatupian',
            index=models.Index(fields=['dingdan_id'], name='chufatupian_dingdan_ce0dd4_idx'),
        ),
        migrations.AddIndex(
            model_name='chufajilu',
            index=models.Index(fields=['dashouid'], name='chufajilu_dashoui_07aac0_idx'),
        ),
        migrations.AddIndex(
            model_name='chufajilu',
            index=models.Index(fields=['qingqiuid'], name='chufajilu_qingqiu_ac160e_idx'),
        ),
        migrations.AddIndex(
            model_name='chufajilu',
            index=models.Index(fields=['chuliid'], name='chufajilu_chuliid_cd63ac_idx'),
        ),
        migrations.AddIndex(
            model_name='chufajilu',
            index=models.Index(fields=['dingdan_id'], name='chufajilu_dingdan_b8f0c2_idx'),
        ),
        migrations.AddIndex(
            model_name='fadanshensutupian',
            index=models.Index(fields=['fadan_id'], name='fadan_shens_fadan_i_78fab9_idx'),
        ),
        migrations.AddIndex(
            model_name='fadanshensutupian',
            index=models.Index(fields=['beichufa_id'], name='fadan_shens_beichuf_59748e_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanshangjia',
            index=models.Index(fields=['shangjia_id'], name='dingdan_sha_shangji_64d28b_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanpingtai',
            index=models.Index(fields=['laoban_id'], name='dingdan_pin_laoban__d55e6f_idx'),
        ),
        migrations.AddIndex(
            model_name='dingdanpingtai',
            index=models.Index(fields=['dianpu_id'], name='dingdan_pin_dianpu__9fbe27_idx'),
        ),
    ]
