# 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,
            },
        ),
    ]

[((303, 378), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (327, 378), False, 'from django.db import migrations, models\n'), ((410, 464), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'db_column': '"""CPF_CNPJ"""', 'unique': '(True)'}), "(db_column='CPF_CNPJ', unique=True)\n", (429, 464), False, 'from django.db import migrations, models\n'), ((493, 567), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""RAZAO"""', 'max_length': '(100)', 'null': '(True)'}), "(blank=True, db_column='RAZAO', max_length=100, null=True)\n", (509, 567), False, 'from django.db import migrations, models\n'), ((599, 652), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""ENDERECO"""', 'max_length': '(80)'}), "(db_column='ENDERECO', max_length=80)\n", (615, 652), False, 'from django.db import migrations, models\n'), ((679, 727), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""CEP"""', 'max_length': '(20)'}), "(db_column='CEP', max_length=20)\n", (695, 727), False, 'from django.db import migrations, models\n'), ((756, 807), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""EMAIL"""', 'max_length': '(200)'}), "(db_column='EMAIL', max_length=200)\n", (772, 807), False, 'from django.db import migrations, models\n'), ((839, 892), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""TELEFONE"""', 'max_length': '(11)'}), "(db_column='TELEFONE', max_length=11)\n", (855, 892), False, 'from django.db import migrations, models\n'), ((923, 998), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""CELULAR"""', 'max_length': '(11)', 'null': '(True)'}), "(blank=True, db_column='CELULAR', max_length=11, null=True)\n", (939, 998), False, 'from django.db import migrations, models\n'), ((1244, 1319), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (1268, 1319), False, 'from django.db import migrations, models\n'), ((1351, 1405), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'db_column': '"""CPF_CNPJ"""', 'unique': '(True)'}), "(db_column='CPF_CNPJ', unique=True)\n", (1370, 1405), False, 'from django.db import migrations, models\n'), ((1434, 1508), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""RAZAO"""', 'max_length': '(100)', 'null': '(True)'}), "(blank=True, db_column='RAZAO', max_length=100, null=True)\n", (1450, 1508), False, 'from django.db import migrations, models\n'), ((1540, 1593), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""ENDERECO"""', 'max_length': '(80)'}), "(db_column='ENDERECO', max_length=80)\n", (1556, 1593), False, 'from django.db import migrations, models\n'), ((1620, 1668), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""CEP"""', 'max_length': '(20)'}), "(db_column='CEP', max_length=20)\n", (1636, 1668), False, 'from django.db import migrations, models\n'), ((1697, 1748), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""EMAIL"""', 'max_length': '(200)'}), "(db_column='EMAIL', max_length=200)\n", (1713, 1748), False, 'from django.db import migrations, models\n'), ((1780, 1833), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""TELEFONE"""', 'max_length': '(11)'}), "(db_column='TELEFONE', max_length=11)\n", (1796, 1833), False, 'from django.db import migrations, models\n'), ((1864, 1939), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""CELULAR"""', 'max_length': '(11)', 'null': '(True)'}), "(blank=True, db_column='CELULAR', max_length=11, null=True)\n", (1880, 1939), False, 'from django.db import migrations, models\n'), ((1977, 2064), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""PESSOA_CONTATO"""', 'max_length': '(100)', 'null': '(True)'}), "(blank=True, db_column='PESSOA_CONTATO', max_length=100,\n    null=True)\n", (1993, 2064), False, 'from django.db import migrations, models\n'), ((2310, 2385), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (2334, 2385), False, 'from django.db import migrations, models\n'), ((2413, 2463), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(100)'}), "(db_column='NOME', max_length=100)\n", (2429, 2463), False, 'from django.db import migrations, models\n'), ((2490, 2526), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'db_column': '"""CPF"""'}), "(db_column='CPF')\n", (2509, 2526), False, 'from django.db import migrations, models\n'), ((2555, 2598), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""CARGO"""'}), "(db_column='CARGO')\n", (2579, 2598), False, 'from django.db import migrations, models\n'), ((2627, 2678), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""LOGIN"""', 'max_length': '(100)'}), "(db_column='LOGIN', max_length=100)\n", (2643, 2678), False, 'from django.db import migrations, models\n'), ((2707, 2757), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""SENHA"""', 'max_length': '(50)'}), "(db_column='SENHA', max_length=50)\n", (2723, 2757), False, 'from django.db import migrations, models\n'), ((3009, 3084), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (3033, 3084), False, 'from django.db import migrations, models\n'), ((3112, 3161), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(60)'}), "(db_column='NOME', max_length=60)\n", (3128, 3161), False, 'from django.db import migrations, models\n'), ((3194, 3248), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""FORMA_EMB"""', 'max_length': '(60)'}), "(db_column='FORMA_EMB', max_length=60)\n", (3210, 3248), False, 'from django.db import migrations, models\n'), ((3276, 3325), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""PESO"""', 'max_length': '(20)'}), "(db_column='PESO', max_length=20)\n", (3292, 3325), False, 'from django.db import migrations, models\n'), ((3360, 3416), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""UNID_MEDIDA"""', 'max_length': '(50)'}), "(db_column='UNID_MEDIDA', max_length=50)\n", (3376, 3416), False, 'from django.db import migrations, models\n'), ((3450, 3493), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'db_column': '"""QUANTIDADE"""'}), "(db_column='QUANTIDADE')\n", (3469, 3493), False, 'from django.db import migrations, models\n'), ((3531, 3578), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'db_column': '"""QUANTIDADE_MIN"""'}), "(db_column='QUANTIDADE_MIN')\n", (3550, 3578), False, 'from django.db import migrations, models\n'), ((3611, 3666), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""DESCRICAO"""', 'max_length': '(500)'}), "(db_column='DESCRICAO', max_length=500)\n", (3627, 3666), False, 'from django.db import migrations, models\n'), ((3706, 3752), 'django.db.models.DateField', 'models.DateField', ([], {'db_column': '"""DATA_RECEBIMENTO"""'}), "(db_column='DATA_RECEBIMENTO')\n", (3722, 3752), False, 'from django.db import migrations, models\n'), ((4008, 4083), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (4032, 4083), False, 'from django.db import migrations, models\n'), ((4116, 4171), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""Descricao"""', 'max_length': '(500)'}), "(db_column='Descricao', max_length=500)\n", (4132, 4171), False, 'from django.db import migrations, models\n'), ((4421, 4496), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (4445, 4496), False, 'from django.db import migrations, models\n'), ((4531, 4572), 'django.db.models.DateField', 'models.DateField', ([], {'db_column': '"""DATA_PEDIDO"""'}), "(db_column='DATA_PEDIDO')\n", (4547, 4572), False, 'from django.db import migrations, models\n'), ((4601, 4674), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""VALOR"""', 'max_length': '(20)', 'null': '(True)'}), "(blank=True, db_column='VALOR', max_length=20, null=True)\n", (4617, 4674), False, 'from django.db import migrations, models\n'), ((4917, 4992), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (4941, 4992), False, 'from django.db import migrations, models\n'), ((5027, 5068), 'django.db.models.DateField', 'models.DateField', ([], {'db_column': '"""DATA_PEDIDO"""'}), "(db_column='DATA_PEDIDO')\n", (5043, 5068), False, 'from django.db import migrations, models\n'), ((5105, 5148), 'django.db.models.DateField', 'models.DateField', ([], {'db_column': '"""DATA_PREVISTA"""'}), "(db_column='DATA_PREVISTA')\n", (5121, 5148), False, 'from django.db import migrations, models\n'), ((5181, 5259), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""DESCRICAO"""', 'max_length': '(500)', 'null': '(True)'}), "(blank=True, db_column='DESCRICAO', max_length=500, null=True)\n", (5197, 5259), False, 'from django.db import migrations, models\n'), ((5288, 5361), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""VALOR"""', 'max_length': '(20)', 'null': '(True)'}), "(blank=True, db_column='VALOR', max_length=20, null=True)\n", (5304, 5361), False, 'from django.db import migrations, models\n'), ((5605, 5672), 'django.db.models.AutoField', 'models.AutoField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (5621, 5672), False, 'from django.db import migrations, models\n'), ((5700, 5749), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(60)'}), "(db_column='NOME', max_length=60)\n", (5716, 5749), False, 'from django.db import migrations, models\n'), ((5782, 5836), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""FORMA_EMB"""', 'max_length': '(60)'}), "(db_column='FORMA_EMB', max_length=60)\n", (5798, 5836), False, 'from django.db import migrations, models\n'), ((5864, 5913), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""PESO"""', 'max_length': '(20)'}), "(db_column='PESO', max_length=20)\n", (5880, 5913), False, 'from django.db import migrations, models\n'), ((5948, 6004), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""UNID_MEDIDA"""', 'max_length': '(50)'}), "(db_column='UNID_MEDIDA', max_length=50)\n", (5964, 6004), False, 'from django.db import migrations, models\n'), ((6033, 6106), 'django.db.models.CharField', 'models.CharField', ([], {'blank': '(True)', 'db_column': '"""PRECO"""', 'max_length': '(10)', 'null': '(True)'}), "(blank=True, db_column='PRECO', max_length=10, null=True)\n", (6049, 6106), False, 'from django.db import migrations, models\n'), ((6140, 6206), 'django.db.models.IntegerField', 'models.IntegerField', ([], {'blank': '(True)', 'db_column': '"""QUANTIDADE"""', 'null': '(True)'}), "(blank=True, db_column='QUANTIDADE', null=True)\n", (6159, 6206), False, 'from django.db import migrations, models\n'), ((6242, 6300), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""DESC_PRODUTO"""', 'max_length': '(500)'}), "(db_column='DESC_PRODUTO', max_length=500)\n", (6258, 6300), False, 'from django.db import migrations, models\n'), ((6541, 6616), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (6565, 6616), False, 'from django.db import migrations, models\n'), ((6644, 6694), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(100)'}), "(db_column='NOME', max_length=100)\n", (6660, 6694), False, 'from django.db import migrations, models\n'), ((6947, 7022), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (6971, 7022), False, 'from django.db import migrations, models\n'), ((7057, 7113), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""STATUS_NOME"""', 'max_length': '(30)'}), "(db_column='STATUS_NOME', max_length=30)\n", (7073, 7113), False, 'from django.db import migrations, models\n'), ((7372, 7447), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (7396, 7447), False, 'from django.db import migrations, models\n'), ((7475, 7525), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(100)'}), "(db_column='NOME', max_length=100)\n", (7491, 7525), False, 'from django.db import migrations, models\n'), ((7779, 7854), 'django.db.models.SmallIntegerField', 'models.SmallIntegerField', ([], {'db_column': '"""ID"""', 'primary_key': '(True)', 'serialize': '(False)'}), "(db_column='ID', primary_key=True, serialize=False)\n", (7803, 7854), False, 'from django.db import migrations, models\n'), ((7882, 7932), 'django.db.models.CharField', 'models.CharField', ([], {'db_column': '"""NOME"""', 'max_length': '(100)'}), "(db_column='NOME', max_length=100)\n", (7898, 7932), False, 'from django.db import migrations, models\n')]