from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('orders', '0009_penalty_bonus_lock_fields'),
    ]

    operations = [
        migrations.CreateModel(
            name='FakeGrabOrder',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('OrderID', models.CharField(db_column='dingdan_id', db_index=True, max_length=32, unique=True, verbose_name='订单ID')),
                ('Amount', models.DecimalField(db_column='jine', decimal_places=2, max_digits=10, verbose_name='订单价格（展示为打手分红）')),
                ('ProductTypeID', models.IntegerField(db_column='leixing_id', verbose_name='订单类型ID')),
                ('Description', models.TextField(blank=True, db_column='jieshao', null=True, verbose_name='订单介绍')),
                ('Remark', models.TextField(blank=True, db_column='beizhu', null=True, verbose_name='订单备注')),
                ('DispatcherUserID', models.CharField(blank=True, db_column='paidan_yonghuid', max_length=32, null=True, verbose_name='派单者用户ID')),
                ('DispatcherAvatar', models.CharField(blank=True, db_column='paidan_touxiang', max_length=500, null=True, verbose_name='派单者头像（展示用默认头像）')),
                ('IsPremiumMerchant', models.BooleanField(db_column='is_youzhi_shangjia', default=False, verbose_name='是否优质商家')),
                ('Platform', models.IntegerField(db_column='fadan_pingtai', default=1, verbose_name='发单平台:1平台2商家')),
                ('ClubID', models.CharField(db_column='club_id', db_index=True, default='xq', max_length=16, verbose_name='所属俱乐部')),
                ('SortOrder', models.IntegerField(default=0, verbose_name='排序（大在前）')),
                ('CreateTime', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('UpdateTime', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
            ],
            options={
                'db_table': 'fake_grab_order',
                'indexes': [models.Index(fields=['ClubID', 'ProductTypeID'], name='fake_grab_o_club_id_6a8f2a_idx')],
            },
        ),
    ]
