# Generated by Django 3.1.4 on 2022-08-10 19:32

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0300_user_roles'),
        ('wx', '0014_pay_cert_serial_no'),
    ]

    operations = [
        migrations.CreateModel(
            name='TransferRecord',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('batch_id', models.CharField(blank=True, max_length=30, null=True, verbose_name='批次号')),
                ('amount', models.DecimalField(decimal_places=2, max_digits=8, verbose_name='金额')),
                ('reason', models.CharField(blank=True, max_length=500, null=True, verbose_name='原因')),
                ('remark', models.CharField(blank=True, max_length=30, null=True, verbose_name='备注')),
                ('state', models.SmallIntegerField(choices=[(0, '未完成'), (1, '已完成'), (2, '已取消')], default=0, verbose_name='状态')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='提交时间')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='公司')),
            ],
            options={
                'verbose_name': '支付日志',
                'verbose_name_plural': '支付日志',
            },
        ),
    ]
