# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-01-03 17:29
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='AccCombination',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, null=True, verbose_name='baseModel_field_createTime')),
                ('create_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_createUser')),
                ('change_time', models.DateTimeField(auto_now=True, null=True, verbose_name='baseModel_field_changeTime')),
                ('change_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_changeUser')),
                ('status', models.SmallIntegerField(choices=[(0, 'baseModel_field_dataStatus_option_statusValid'), (99, 'baseModel_field_dataStatus_option_statusInvalid'), (100, 'baseModel_field_dataStatus_option_statusInvalid'), (999, 'baseModel_field_dataStatus_option_statusInvalid')], default=0, editable=False, verbose_name='baseModel_field_dataStatus')),
                ('combination_no', models.IntegerField(verbose_name='accCombination_field_no')),
                ('combination_name', models.CharField(max_length=100, verbose_name='accCombination_field_name')),
                ('group1', models.IntegerField(blank=True, default=0, null=True, verbose_name='accCombination_field_group1')),
                ('group2', models.IntegerField(blank=True, default=0, null=True, verbose_name='accCombination_field_group2')),
                ('group3', models.IntegerField(blank=True, default=0, null=True, verbose_name='accCombination_field_group3')),
                ('group4', models.IntegerField(blank=True, default=0, null=True, verbose_name='accCombination_field_group4')),
                ('group5', models.IntegerField(blank=True, default=0, null=True, verbose_name='accCombination_field_group5')),
                ('remark', models.CharField(blank=True, max_length=999, null=True, verbose_name='accCombination_field_remark')),
                ('update_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, editable=False, null=True, verbose_name='emp_field_updateTime')),
            ],
            options={
                'verbose_name': 'acc_combination',
                'verbose_name_plural': 'acc_combination',
                'ordering': ['id'],
            },
            managers=[
                ('all_objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.CreateModel(
            name='AccGroups',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('group_no', models.IntegerField(help_text='accGroup_field_no_maxValue', verbose_name='accGroup_field_no')),
                ('group_name', models.CharField(max_length=100, verbose_name='accGroup_field_name')),
                ('verify_mode', models.IntegerField(choices=[(0, 'employee_verificationOption_any'), (1, 'employee_verificationOption_fingerprintOnly'), (2, 'employee_verificationOption_userIDOnly'), (3, 'employee_verificationOption_password'), (4, 'employee_verificationOption_badgeOnly'), (5, 'employee_verificationOption_fingerprintOrPassword'), (6, 'employee_verificationOption_fingerprintOrBadge'), (7, 'employee_verificationOption_passwordOrBadge'), (8, 'employee_verificationOption_userIDAndFingerprint'), (9, 'employee_verificationOption_fingerprintAndPassword'), (10, 'employee_verificationOption_fingerprintAndBadge'), (11, 'employee_verificationOption_fingerprintAndPasswordAndBadge'), (12, 'employee_verificationOption_passwordAndBadge'), (13, 'employee_verificationOption_userIDAndFingerprintPassword'), (14, 'employee_verificationOption_fingerprintAndBadgeOrUserID'), (15, 'employee_verificationOption_faceOnly'), (16, 'employee_verificationOption_faceAndFingerprint'), (17, 'employee_verificationOption_faceAndPassword'), (18, 'employee_verificationOption_faceAndCard'), (19, 'employee_verificationOption_faceAndFingerprintAndCard'), (20, 'employee_verificationOption_faceAndFingerprintAndPassword'), (21, 'employee_verificationOption_fingerVein'), (22, 'employee_verificationOption_fingerVeinAndPassword'), (23, 'employee_verificationOption_fingerVeinAndCard'), (24, 'employee_verificationOption_fingerVeinAndPasswordAndCard'), (25, 'employee_verificationOption_palm'), (26, 'employee_verificationOption_palmAndCard'), (27, 'employee_verificationOption_palmAndFace'), (28, 'employee_verificationOption_palmAndFingerprint'), (29, 'employee_verificationOption_palmAndFingerprintAndFace')], default=0, verbose_name='accPrivilege_field_verifyMode')),
                ('timezone1', models.IntegerField(blank=True, default=1, null=True, verbose_name='accPrivilege_field_timezone1')),
                ('timezone2', models.IntegerField(blank=True, default=0, null=True, verbose_name='accPrivilege_field_timezone2')),
                ('timezone3', models.IntegerField(blank=True, default=0, null=True, verbose_name='accPrivilege_field_timezone3')),
                ('is_include_holiday', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=0, verbose_name='accGroup_field_include_holiday')),
                ('update_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, editable=False, null=True, verbose_name='emp_field_updateTime')),
            ],
            options={
                'verbose_name': 'acc_groups',
                'verbose_name_plural': 'acc_groups',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='AccHoliday',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, null=True, verbose_name='baseModel_field_createTime')),
                ('create_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_createUser')),
                ('change_time', models.DateTimeField(auto_now=True, null=True, verbose_name='baseModel_field_changeTime')),
                ('change_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_changeUser')),
                ('status', models.SmallIntegerField(choices=[(0, 'baseModel_field_dataStatus_option_statusValid'), (99, 'baseModel_field_dataStatus_option_statusInvalid'), (100, 'baseModel_field_dataStatus_option_statusInvalid'), (999, 'baseModel_field_dataStatus_option_statusInvalid')], default=0, editable=False, verbose_name='baseModel_field_dataStatus')),
                ('update_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, editable=False, null=True, verbose_name='emp_field_updateTime')),
            ],
            options={
                'verbose_name': 'acc_holiday',
                'verbose_name_plural': 'acc_holiday',
                'ordering': ['id'],
            },
            managers=[
                ('all_objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.CreateModel(
            name='AccPrivilege',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, null=True, verbose_name='baseModel_field_createTime')),
                ('create_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_createUser')),
                ('change_time', models.DateTimeField(auto_now=True, null=True, verbose_name='baseModel_field_changeTime')),
                ('change_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_changeUser')),
                ('status', models.SmallIntegerField(choices=[(0, 'baseModel_field_dataStatus_option_statusValid'), (99, 'baseModel_field_dataStatus_option_statusInvalid'), (100, 'baseModel_field_dataStatus_option_statusInvalid'), (999, 'baseModel_field_dataStatus_option_statusInvalid')], default=0, editable=False, verbose_name='baseModel_field_dataStatus')),
                ('is_group_timezone', models.SmallIntegerField(choices=[(0, 'accPrivilege_timePeriodModeOption_personnel'), (1, 'accPrivilege_timePeriodModeOption_group')], default=1, verbose_name='accPrivilege_field_useGroupTimezone')),
                ('timezone1', models.IntegerField(blank=True, null=True, verbose_name='accPrivilege_field_timezone1')),
                ('timezone2', models.IntegerField(blank=True, null=True, verbose_name='accPrivilege_field_timezone2')),
                ('timezone3', models.IntegerField(blank=True, null=True, verbose_name='accPrivilege_field_timezone3')),
                ('is_group_verifycode', models.SmallIntegerField(choices=[(0, 'accPrivilege_timePeriodModeOption_personnel'), (1, 'accPrivilege_timePeriodModeOption_group')], default=1, verbose_name='accPrivilege_field_useGroupVerifyMode')),
                ('verify_mode', models.IntegerField(blank=True, choices=[(-1, 'employee_verificationOption_applyGroupMode'), (0, 'employee_verificationOption_any'), (1, 'employee_verificationOption_fingerprintOnly'), (2, 'employee_verificationOption_userIDOnly'), (3, 'employee_verificationOption_password'), (4, 'employee_verificationOption_badgeOnly'), (5, 'employee_verificationOption_fingerprintOrPassword'), (6, 'employee_verificationOption_fingerprintOrBadge'), (7, 'employee_verificationOption_passwordOrBadge'), (8, 'employee_verificationOption_userIDAndFingerprint'), (9, 'employee_verificationOption_fingerprintAndPassword'), (10, 'employee_verificationOption_fingerprintAndBadge'), (11, 'employee_verificationOption_fingerprintAndPasswordAndBadge'), (12, 'employee_verificationOption_passwordAndBadge'), (13, 'employee_verificationOption_userIDAndFingerprintPassword'), (14, 'employee_verificationOption_fingerprintAndBadgeOrUserID'), (15, 'employee_verificationOption_faceOnly'), (16, 'employee_verificationOption_faceAndFingerprint'), (17, 'employee_verificationOption_faceAndPassword'), (18, 'employee_verificationOption_faceAndCard'), (19, 'employee_verificationOption_faceAndFingerprintAndCard'), (20, 'employee_verificationOption_faceAndFingerprintAndPassword'), (21, 'employee_verificationOption_fingerVein'), (22, 'employee_verificationOption_fingerVeinAndPassword'), (23, 'employee_verificationOption_fingerVeinAndCard'), (24, 'employee_verificationOption_fingerVeinAndPasswordAndCard'), (25, 'employee_verificationOption_palm'), (26, 'employee_verificationOption_palmAndCard'), (27, 'employee_verificationOption_palmAndFace'), (28, 'employee_verificationOption_palmAndFingerprint'), (29, 'employee_verificationOption_palmAndFingerprintAndFace')], default=-1, null=True, verbose_name='accPrivilege_field_verifyMode')),
                ('update_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, editable=False, null=True, verbose_name='emp_field_updateTime')),
            ],
            options={
                'verbose_name': 'acc_privilege',
                'verbose_name_plural': 'acc_privilege',
                'ordering': ['id'],
            },
            managers=[
                ('all_objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.CreateModel(
            name='AccTerminal',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, null=True, verbose_name='baseModel_field_createTime')),
                ('create_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_createUser')),
                ('change_time', models.DateTimeField(auto_now=True, null=True, verbose_name='baseModel_field_changeTime')),
                ('change_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_changeUser')),
                ('status', models.SmallIntegerField(choices=[(0, 'baseModel_field_dataStatus_option_statusValid'), (99, 'baseModel_field_dataStatus_option_statusInvalid'), (100, 'baseModel_field_dataStatus_option_statusInvalid'), (999, 'baseModel_field_dataStatus_option_statusInvalid')], default=0, editable=False, verbose_name='baseModel_field_dataStatus')),
                ('door_name', models.CharField(blank=True, max_length=50, null=True, verbose_name='accTerminal_field_doorName')),
                ('door_lock_delay', models.IntegerField(default=10, help_text='accTerminal_field_doorLockDelayHelpText', verbose_name='accTerminal_field_doorLockDelay')),
                ('door_sensor_delay', models.IntegerField(default=10, help_text='accTerminal_field_doorSensorDelayHelpText', verbose_name='accTerminal_field_doorSensorDelay')),
                ('door_sensor_type', models.SmallIntegerField(choices=[(0, 'door_sensor_type_normalOpen'), (1, 'door_sensor_type_normalClose'), (2, 'door_sensor_type_none')], default=2, verbose_name='accTerminal_field_doorSensorType')),
                ('door_alarm_delay', models.IntegerField(default=30, help_text='accTerminal_field_doorAlarmDelayHelpText', verbose_name='accTerminal_field_doorAlarmDelay')),
                ('retry_times', models.SmallIntegerField(choices=[(0, 'retry_times_to_alarm_none'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9')], default=3, verbose_name='accTerminal_field_retryTimesToAlarm')),
                ('valid_holiday', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=0, verbose_name='accTerminal_field_validHoliday')),
                ('nc_time_period', models.IntegerField(default=0, help_text='accTerminal_field_normalCloseTimePeriodHelpText', verbose_name='accTerminal_field_normalCloseTimePeriod')),
                ('no_time_period', models.IntegerField(default=0, help_text='accTerminal_field_normalOpenTimePeriodHelpText', verbose_name='accTerminal_field_normalOpenTimePeriod')),
                ('speaker_alarm', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=0, verbose_name='accTerminal_field_speakerAlarm')),
                ('duress_fun_on', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, verbose_name='accTerminal_field_duressFunOn')),
                ('alarm_1_1', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, verbose_name='accTerminal_field_alarmOn11Match')),
                ('alarm_1_n', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, verbose_name='accTerminal_field_alarmOn1nMatch')),
                ('alarm_password', models.SmallIntegerField(choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, verbose_name='accTerminal_field_alarmOnPassword')),
                ('duress_alarm_delay', models.IntegerField(default=10, help_text='accTerminal_field_duressAlarmDelayHelpText', verbose_name='accTerminal_field_duressAlarmDelay')),
                ('anti_passback_mode', models.SmallIntegerField(choices=[(0, 'anti_passback_mode_no'), (1, 'anti_passback_mode_out'), (2, 'anti_passback_mode_in'), (3, 'anti_passback_mode_inOut'), (4, 'anti_passback_mode_noButSaveDoorStatus')], default=0, verbose_name='accTerminal_field_antiPassBackMode')),
                ('anti_door_direction', models.SmallIntegerField(choices=[(-1, 'door_direction_none'), (0, 'door_direction_out'), (1, 'door_direction_in')], default=0, verbose_name='accTerminal_field_antiDoorDirection')),
                ('verify_mode_485', models.SmallIntegerField(choices=[(6, 'employee_verificationOption_fingerprintOrBadge'), (1, 'employee_verificationOption_fingerprintOnly'), (4, 'employee_verificationOption_badgeOnly'), (9, 'employee_verificationOption_fingerprintAndPassword'), (11, 'employee_verificationOption_passwordAndBadge'), (10, 'employee_verificationOption_fingerprintAndBadge'), (12, 'employee_verificationOption_fingerprintAndPasswordAndBadge')], default=0, verbose_name='accTerminal_field_verifyMode485')),
                ('push_time', models.DateTimeField(blank=True, default=datetime.datetime(1900, 1, 1, 0, 0), editable=False, null=True, verbose_name='accTerminal_field_pushTime')),
            ],
            options={
                'verbose_name': 'acc_terminal',
                'verbose_name_plural': 'acc_terminal',
                'ordering': ['id'],
                'default_permissions': ('change', 'view'),
            },
            managers=[
                ('all_objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.CreateModel(
            name='AccTimezone',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, null=True, verbose_name='baseModel_field_createTime')),
                ('create_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_createUser')),
                ('change_time', models.DateTimeField(auto_now=True, null=True, verbose_name='baseModel_field_changeTime')),
                ('change_user', models.CharField(blank=True, editable=False, max_length=150, null=True, verbose_name='baseModel_field_changeUser')),
                ('status', models.SmallIntegerField(choices=[(0, 'baseModel_field_dataStatus_option_statusValid'), (99, 'baseModel_field_dataStatus_option_statusInvalid'), (100, 'baseModel_field_dataStatus_option_statusInvalid'), (999, 'baseModel_field_dataStatus_option_statusInvalid')], default=0, editable=False, verbose_name='baseModel_field_dataStatus')),
                ('timezone_no', models.IntegerField(help_text='accTimezone_field_no_maxValue', verbose_name='accTimezone_field_no')),
                ('timezone_name', models.CharField(max_length=100, verbose_name='accTimezone_field_name')),
                ('sun_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('sun_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('sun_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('mon_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('mon_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('mon_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('tue_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('tue_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('tue_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('wed_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('wed_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('wed_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('thu_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('thu_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('thu_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('fri_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('fri_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('fri_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('sat_start', models.TimeField(default='00:00:00', verbose_name='accTimezone_field_start')),
                ('sat_end', models.TimeField(default='23:59:00', verbose_name='accTimezone_field_end')),
                ('sat_on', models.SmallIntegerField(blank=True, choices=[(0, 'boolean_option_no'), (1, 'boolean_option_yes')], default=1, null=True, verbose_name='accTimezone_field_on')),
                ('remark', models.CharField(blank=True, max_length=999, null=True, verbose_name='accTimezone_field_remark')),
                ('update_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, editable=False, null=True, verbose_name='emp_field_updateTime')),
            ],
            options={
                'verbose_name': 'acc_timezone',
                'verbose_name_plural': 'acc_timezone',
                'ordering': ['id'],
            },
            managers=[
                ('all_objects', django.db.models.manager.Manager()),
            ],
        ),
    ]
