# Generated by Django 3.1.4 on 2023-03-04 10:14

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0323_auto_20230304_1014'),
        ('sales', '0315_wallet_amount'),
        ('wx', '0016_pagepath'),
    ]

    operations = [
        migrations.CreateModel(
            name='AIStatus',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('label_code', models.CharField(db_index=True, max_length=20, verbose_name='标签号码')),
                ('uuid', models.CharField(max_length=20, verbose_name='微信消费者帐号UUID')),
                ('state', models.SmallIntegerField(verbose_name='AI结果')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='时间')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='公司')),
                ('consumer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sales.consumeraccount', verbose_name='微信消费者帐号')),
            ],
            options={
                'verbose_name': 'AI验证记录',
                'verbose_name_plural': 'AI验证记录',
            },
        ),
    ]
