# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-06-18 18:21
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import mysite.admin.abstract_cloud_model


class Migration(migrations.Migration):

    dependencies = [
        ('personnel', '0013_auto_20200618_1616'),
        ('iclock', '0012_auto_20200618_1616'),
    ]

    operations = [
        migrations.CreateModel(
            name='Events',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('event', models.CharField(max_length=55, verbose_name='events_field_event')),
                ('organizer', models.CharField(max_length=55, verbose_name='events_field_organizer')),
                ('event_time', models.DateTimeField(verbose_name='events_field_eventTime')),
                ('location', models.TextField(verbose_name='events_field_loaction')),
                ('company', models.ForeignKey(blank=True, default=mysite.admin.abstract_cloud_model.get_current_company, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Company')),
            ],
            options={
                'verbose_name': 'iclock_model_events',
                'verbose_name_plural': 'iclock_model_events',
            },
        ),
        migrations.AlterField(
            model_name='terminallog',
            name='action_name',
            field=models.SmallIntegerField(blank=True, choices=[(0, 'deviceLog_action_powerOn'), (1, 'deviceLog_action_powerOff'), (2, 'deviceLog_action_verifyFailed'), (3, 'deviceLog_action_alarm'), (4, 'deviceLog_action_enterMenu'), (5, 'deviceLog_action_modifySetting'), (6, 'deviceLog_action_enrollFP'), (7, 'deviceLog_action_enrollPassword'), (8, 'deviceLog_action_enrollCard'), (9, 'deviceLog_action_deleteUser'), (10, 'deviceLog_action_deleteFP'), (11, 'deviceLog_action_deletePassword'), (12, 'deviceLog_action_deleteCard'), (13, 'deviceLog_action_cleanData'), (14, 'deviceLog_action_generateMFCard'), (15, 'deviceLog_action_enrollMFCard'), (16, 'deviceLog_action_enrollMFCard'), (17, 'deviceLog_action_deleteMFCard'), (18, 'deviceLog_action_clearMFCard'), (19, 'deviceLog_action_migrateDataEnrollment2Card'), (20, 'deviceLog_action_migrateDataCard2Device'), (21, 'deviceLog_action_setupTime'), (22, 'deviceLog_action_restoreSetting'), (23, 'deviceLog_action_deleteAccessEntry'), (24, 'deviceLog_action_clearAdminPrivilege'), (25, 'deviceLog_action_updateAccessSetting'), (26, 'deviceLog_action_updateUserAccessSetting'), (27, 'deviceLog_action_updateAccessTimeZone'), (28, 'deviceLog_action_updateUnlockingCombination'), (29, 'deviceLog_action_unlock'), (30, 'deviceLog_action_enrollNewUser'), (31, 'deviceLog_action_updateFP'), (32, 'deviceLog_action_duressAlarm'), (34, 'deviceLog_action_antiPassBack'), (35, 'deviceLog_action_deleteAttPhoto'), (36, 'deviceLog_action_updateOtherUser'), (37, 'deviceLog_action_holiday'), (68, 'deviceLog_action_registerUserPhoto'), (69, 'deviceLog_action_updateUserPhoto'), (70, 'deviceLog_action_updateUserName'), (71, 'deviceLog_action_updateUserPrivilege'), (100, 'deviceLog_action_updatePalm'), (101, 'deviceLog_action_deletePalm')], null=True, verbose_name='terminalLog_field_actionName'),
        ),
    ]
