# Generated by Django 3.1.4 on 2021-03-16 15:07

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0186_auto_20210312_1354'),
        ('wx', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='WxPay',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('appid', models.CharField(max_length=100, verbose_name='公众号ID')),
                ('key', models.CharField(max_length=200, verbose_name='密钥')),
                ('cert_path', models.CharField(max_length=200, verbose_name='证书地址')),
                ('pay_id', models.CharField(max_length=100, verbose_name='商户号')),
                ('remark', models.CharField(blank=True, max_length=200, null=True, verbose_name='备注')),
                ('comp_abbr', models.CharField(blank=True, max_length=100, null=True, verbose_name='公司缩写')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='公司')),
            ],
            options={
                'verbose_name': '微信商户平台',
                'verbose_name_plural': '微信商户平台',
            },
        ),
    ]
