# Generated by Django 3.1.4 on 2021-02-18 19:11

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0154_auto_20210209_1424'),
    ]

    operations = [
        migrations.AlterField(
            model_name='bankinfoapplication',
            name='status_id',
            field=models.IntegerField(db_index=True, default=1, verbose_name='当前状态ID'),
        ),
        migrations.CreateModel(
            name='BankInfors',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ancestor_id', models.IntegerField(db_index=True, verbose_name='族系')),
                ('bank_name', models.CharField(max_length=50, verbose_name='收款行名称')),
                ('bank_account', models.CharField(max_length=50, verbose_name='收款行帐号')),
                ('payee', models.CharField(max_length=50, verbose_name='收款人')),
                ('is_default', models.BooleanField(default=False, verbose_name='默认账号')),
                ('tm', models.DateTimeField(auto_now=True, verbose_name='时间')),
                ('application', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.bankinfoapplication', verbose_name='银行卡绑定申请')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bankinfors_company', to='company.company', verbose_name='收款人wxopenid')),
            ],
            options={
                'verbose_name': '银行卡信息',
                'verbose_name_plural': '银行卡信息',
            },
        ),
    ]
