# Generated by Django 2.0.7 on 2018-09-24 15:53

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('core', '0009_auto_20180924_1008'),
    ]

    operations = [
        migrations.CreateModel(
            name='UsuarioBase',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('matricula', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='Matricula')),
                ('servidor', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='servidor')),
                ('cod_setor', models.CharField(blank=True, db_index=True, max_length=50, null=True, verbose_name='cod_setor')),
                ('setor', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='setor')),
                ('cod_cargo', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='cod_cargo')),
                ('cargo', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='cargo')),
                ('cod_funcao', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='cod_funcao')),
                ('funcao', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='funcao')),
                ('cod_vinculo', models.BigIntegerField(blank=True, db_index=True, null=True, verbose_name='cod_vinculo')),
                ('vinculo', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='vinculo')),
                ('secretaria', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='Secretaria')),
                ('cod_unidade_gestora', models.CharField(blank=True, db_index=True, max_length=11, null=True, verbose_name='Código da Unidade Gestora')),
                ('data_admissao', models.DateField(blank=True, null=True, verbose_name='data_admissao')),
                ('data_desligamento', models.DateField(blank=True, null=True, verbose_name='data_desligamento')),
                ('localizacao', models.CharField(blank=True, db_index=True, max_length=500, null=True, verbose_name='localizacao')),
                ('ativo', models.BooleanField(default=False, verbose_name='ativo ?')),
                ('exonerado', models.BooleanField(default=False, verbose_name='exonerado ?')),
                ('mes_referencia', models.PositiveIntegerField(default=0, verbose_name='Mês Referência')),
                ('ano_referencia', models.PositiveIntegerField(default=0, verbose_name='Ano Referência')),
                ('data_atualizacao', models.DateTimeField(auto_now=True)),
                ('prodata', models.BooleanField(default=False)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
