# Generated by Django 2.0.6 on 2018-06-17 04:47

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Cliente',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('cpf_cnpj', models.IntegerField(db_column='CPF_CNPJ', unique=True)),
                ('razao', models.CharField(blank=True, db_column='RAZAO', max_length=100, null=True)),
                ('endereco', models.CharField(db_column='ENDERECO', max_length=80)),
                ('cep', models.CharField(db_column='CEP', max_length=20)),
                ('email', models.CharField(db_column='EMAIL', max_length=200)),
                ('telefone', models.CharField(db_column='TELEFONE', max_length=11)),
                ('celular', models.CharField(blank=True, db_column='CELULAR', max_length=11, null=True)),
            ],
            options={
                'db_table': 'Cliente',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Fornecedor',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('cpf_cnpj', models.IntegerField(db_column='CPF_CNPJ', unique=True)),
                ('razao', models.CharField(blank=True, db_column='RAZAO', max_length=100, null=True)),
                ('endereco', models.CharField(db_column='ENDERECO', max_length=80)),
                ('cep', models.CharField(db_column='CEP', max_length=20)),
                ('email', models.CharField(db_column='EMAIL', max_length=200)),
                ('telefone', models.CharField(db_column='TELEFONE', max_length=11)),
                ('celular', models.CharField(blank=True, db_column='CELULAR', max_length=11, null=True)),
                ('pessoa_contato', models.CharField(blank=True, db_column='PESSOA_CONTATO', max_length=100, null=True)),
            ],
            options={
                'db_table': 'Fornecedor',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Funcionario',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=100)),
                ('cpf', models.IntegerField(db_column='CPF')),
                ('cargo', models.SmallIntegerField(db_column='CARGO')),
                ('login', models.CharField(db_column='LOGIN', max_length=100)),
                ('senha', models.CharField(db_column='SENHA', max_length=50)),
            ],
            options={
                'db_table': 'Funcionario',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Materiaprima',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=60)),
                ('forma_emb', models.CharField(db_column='FORMA_EMB', max_length=60)),
                ('peso', models.CharField(db_column='PESO', max_length=20)),
                ('unid_medida', models.CharField(db_column='UNID_MEDIDA', max_length=50)),
                ('quantidade', models.IntegerField(db_column='QUANTIDADE')),
                ('quantidade_min', models.IntegerField(db_column='QUANTIDADE_MIN')),
                ('descricao', models.CharField(db_column='DESCRICAO', max_length=500)),
                ('data_recebimento', models.DateField(db_column='DATA_RECEBIMENTO')),
            ],
            options={
                'db_table': 'MateriaPrima',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Ordemdeproducao',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('descricao', models.CharField(db_column='Descricao', max_length=500)),
            ],
            options={
                'db_table': 'OrdemDeProducao',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Pedido',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('data_pedido', models.DateField(db_column='DATA_PEDIDO')),
                ('valor', models.CharField(blank=True, db_column='VALOR', max_length=20, null=True)),
            ],
            options={
                'db_table': 'Pedido',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Pedidomp',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('data_pedido', models.DateField(db_column='DATA_PEDIDO')),
                ('data_prevista', models.DateField(db_column='DATA_PREVISTA')),
                ('descricao', models.CharField(blank=True, db_column='DESCRICAO', max_length=500, null=True)),
                ('valor', models.CharField(blank=True, db_column='VALOR', max_length=20, null=True)),
            ],
            options={
                'db_table': 'PedidoMP',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Produto',
            fields=[
                ('id', models.AutoField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=60)),
                ('forma_emb', models.CharField(db_column='FORMA_EMB', max_length=60)),
                ('peso', models.CharField(db_column='PESO', max_length=20)),
                ('unid_medida', models.CharField(db_column='UNID_MEDIDA', max_length=50)),
                ('preco', models.CharField(blank=True, db_column='PRECO', max_length=10, null=True)),
                ('quantidade', models.IntegerField(blank=True, db_column='QUANTIDADE', null=True)),
                ('desc_produto', models.CharField(db_column='DESC_PRODUTO', max_length=500)),
            ],
            options={
                'db_table': 'Produto',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Setor',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=100)),
            ],
            options={
                'db_table': 'Setor',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Statusordemproducao',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('status_nome', models.CharField(db_column='STATUS_NOME', max_length=30)),
            ],
            options={
                'db_table': 'StatusOrdemProducao',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Tipoproduto',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=100)),
            ],
            options={
                'db_table': 'TipoProduto',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='Tiposeguimento',
            fields=[
                ('id', models.SmallIntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('nome', models.CharField(db_column='NOME', max_length=100)),
            ],
            options={
                'db_table': 'TipoSeguimento',
                'managed': False,
            },
        ),
    ]

[((17, 23, 17, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((18, 29, 18, 83), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((19, 26, 19, 100), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((20, 29, 20, 82), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((21, 24, 21, 72), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((22, 26, 22, 77), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((23, 29, 23, 82), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((24, 28, 24, 103), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((34, 23, 34, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((35, 29, 35, 83), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((36, 26, 36, 100), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((37, 29, 37, 82), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((38, 24, 38, 72), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((39, 26, 39, 77), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((40, 29, 40, 82), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((41, 28, 41, 103), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((42, 35, 42, 118), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((52, 23, 52, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((53, 25, 53, 75), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((54, 24, 54, 60), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((55, 26, 55, 69), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((56, 26, 56, 77), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((57, 26, 57, 76), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((67, 23, 67, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((68, 25, 68, 74), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((69, 30, 69, 84), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((70, 25, 70, 74), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((71, 32, 71, 88), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((72, 31, 72, 74), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((73, 35, 73, 82), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((74, 30, 74, 85), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((75, 37, 75, 83), 'django.db.models.DateField', 'models.DateField', (), '', False, 'from django.db import migrations, models\n'), ((85, 23, 85, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((86, 30, 86, 85), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((96, 23, 96, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((97, 32, 97, 73), 'django.db.models.DateField', 'models.DateField', (), '', False, 'from django.db import migrations, models\n'), ((98, 26, 98, 99), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((108, 23, 108, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((109, 32, 109, 73), 'django.db.models.DateField', 'models.DateField', (), '', False, 'from django.db import migrations, models\n'), ((110, 34, 110, 77), 'django.db.models.DateField', 'models.DateField', (), '', False, 'from django.db import migrations, models\n'), ((111, 30, 111, 108), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((112, 26, 112, 99), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((122, 23, 122, 90), 'django.db.models.AutoField', 'models.AutoField', (), '', False, 'from django.db import migrations, models\n'), ((123, 25, 123, 74), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((124, 30, 124, 84), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((125, 25, 125, 74), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((126, 32, 126, 88), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((127, 26, 127, 99), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((128, 31, 128, 97), 'django.db.models.IntegerField', 'models.IntegerField', (), '', False, 'from django.db import migrations, models\n'), ((129, 33, 129, 91), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((139, 23, 139, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((140, 25, 140, 75), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((150, 23, 150, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((151, 32, 151, 88), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((161, 23, 161, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((162, 25, 162, 75), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n'), ((172, 23, 172, 98), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', (), '', False, 'from django.db import migrations, models\n'), ((173, 25, 173, 75), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import migrations, models\n')]