# Generated by Django 3.2.12 on 2024-01-29 08:36

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


class Migration(migrations.Migration):

    dependencies = [
        ('enp', '0003_auto_20240119_1620'),
    ]

    operations = [
        migrations.CreateModel(
            name='VehicleAccess',
            fields=[
                ('id', models.CharField(editable=False, help_text='主键ID', max_length=20,
                 primary_key=True, serialize=False, verbose_name='主键ID')),
                ('create_time', models.DateTimeField(
                    default=django.utils.timezone.now, help_text='创建时间', verbose_name='创建时间')),
                ('update_time', models.DateTimeField(
                    auto_now=True, help_text='修改时间', verbose_name='修改时间')),
                ('is_deleted', models.BooleanField(
                    default=False, help_text='删除标记', verbose_name='删除标记')),
                ('type', models.PositiveSmallIntegerField(
                    default=1, help_text='1: 进厂, 2: 出厂', verbose_name='出入类型')),
                ('vehicle_number', models.CharField(
                    max_length=10, verbose_name='车牌号')),
                ('access_time', models.DateTimeField(
                    blank=True, null=True, verbose_name='出入时间')),
                ('emission_standard', models.CharField(blank=True,
                 max_length=10, null=True, verbose_name='排放标准')),
                ('door_name', models.CharField(blank=True,
                 max_length=10, null=True, verbose_name='门禁名称')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
