# Generated by Django 3.2.10 on 2022-05-24 18:31

from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0054_tenant_next_seq_num'),
    ]

    operations = [
        migrations.CreateModel(
            name='SerialCodeBatchOpRecord',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('seq_num_begin', models.IntegerField(null=True, verbose_name='开始流水号')),
                ('seq_num_end', models.IntegerField(null=True, verbose_name='结束流水号')),
                ('num_code', models.IntegerField()),
                ('datetime', models.DateTimeField(auto_now_add=True, verbose_name='操作时间')),
                ('op_name', models.CharField(max_length=128, verbose_name='操作类型')),
                ('bind_product_name', models.TextField(null=True, verbose_name='绑定产品名称')),
            ],
        ),
        migrations.AddField(
            model_name='serialcode',
            name='datetime',
            field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='创建日期'),
            preserve_default=False,
        ),
    ]
