# Generated by Django 3.1.4 on 2021-02-04 20:27

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0145_auto_20210204_1714'),
    ]

    operations = [
        migrations.RenameField(
            model_name='wxwalletapplication',
            old_name='wxopenid',
            new_name='payee_wxopenid',
        ),
        migrations.RemoveField(
            model_name='bankinfo',
            name='status',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='app_company',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='app_headimgurl',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='app_nickname',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='app_user',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='app_wxopenid_id',
        ),
        migrations.RemoveField(
            model_name='bankinfoapplication',
            name='bankinfo',
        ),
        migrations.AddField(
            model_name='bankinfo',
            name='tm_edit',
            field=models.DateTimeField(auto_now=True, verbose_name='修改时间'),
        ),
        migrations.AddField(
            model_name='bankinfoapplication',
            name='headimgurl',
            field=models.CharField(blank=True, max_length=400, null=True, verbose_name='申请人微信头像'),
        ),
        migrations.AddField(
            model_name='bankinfoapplication',
            name='nickname',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='申请人微信昵称'),
        ),
        migrations.AddField(
            model_name='bankinfoapplication',
            name='payee',
            field=models.CharField(default=1, max_length=50, verbose_name='收款人'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bankinfoapplication',
            name='user_id',
            field=models.IntegerField(db_index=True, default=1, verbose_name='申请人'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='bankinfoapplication',
            name='wxopenid_id',
            field=models.IntegerField(blank=True, null=True, verbose_name='申请人微信openid_id'),
        ),
        migrations.AddField(
            model_name='wxwallet',
            name='tm_edit',
            field=models.DateTimeField(auto_now=True, verbose_name='修改时间'),
        ),
        migrations.AddField(
            model_name='wxwalletapplication',
            name='headimgurl',
            field=models.CharField(blank=True, max_length=400, null=True, verbose_name='申请人微信头像'),
        ),
        migrations.AddField(
            model_name='wxwalletapplication',
            name='nickname',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='申请人微信昵称'),
        ),
        migrations.AddField(
            model_name='wxwalletapplication',
            name='user_id',
            field=models.IntegerField(blank=True, db_index=True, null=True, verbose_name='申请人'),
        ),
        migrations.AddField(
            model_name='wxwalletapplication',
            name='wxopenid_id',
            field=models.IntegerField(blank=True, null=True, verbose_name='申请人微信openid_id'),
        ),
        migrations.AlterField(
            model_name='bankinfo',
            name='bank_account',
            field=models.CharField(default=1, max_length=50, verbose_name='收款行帐号'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bankinfo',
            name='bank_name',
            field=models.CharField(default=1, max_length=50, verbose_name='收款行名称'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bankinfo',
            name='payee',
            field=models.CharField(default=1, max_length=50, verbose_name='收款人'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bankinfoapplication',
            name='bank_account',
            field=models.CharField(default=1, max_length=50, verbose_name='收款行帐号'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bankinfoapplication',
            name='bank_name',
            field=models.CharField(default=1, max_length=50, verbose_name='收款行名称'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='bankinfoapplication',
            name='company_id',
            field=models.IntegerField(db_index=True, verbose_name='申请经销商'),
        ),
        migrations.AlterField(
            model_name='wxwallet',
            name='cellphone',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='手机号码'),
        ),
        migrations.AlterField(
            model_name='wxwallet',
            name='realname',
            field=models.CharField(blank=True, max_length=30, null=True, verbose_name='微信实名制收款人'),
        ),
        migrations.AlterField(
            model_name='wxwallet',
            name='status',
            field=models.ForeignKey(blank=True, default=1, null=True, on_delete=django.db.models.deletion.SET_NULL, to='company.wxwalletstatus', verbose_name='当前状态'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='app_company',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='申请经销商'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='app_headimgurl',
            field=models.CharField(blank=True, max_length=400, null=True, verbose_name='申请人微信头像'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='app_nickname',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='申请人微信昵称'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='app_user',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='申请人'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='app_wxopenid_id',
            field=models.IntegerField(blank=True, null=True, verbose_name='申请人微信openid_id'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='cellphone',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='手机号码'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='priority',
            field=models.SmallIntegerField(blank=True, choices=[(1, '微信支付'), (2, '银行转帐')], default=1, null=True, verbose_name='优先支付方式'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='realname',
            field=models.CharField(blank=True, max_length=30, null=True, verbose_name='实名制收款人'),
        ),
        migrations.AlterField(
            model_name='wxwalletapplication',
            name='wxwallet',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.wxwallet', verbose_name='经销商微信钱包'),
        ),
    ]
