# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-10-12 03:04
from __future__ import unicode_literals

import datetime
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='CatalogoEstadoSolicitud',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('estado', models.CharField(max_length=255, verbose_name='Estado')),
            ],
        ),
        migrations.CreateModel(
            name='CatalogoTipoAlumno',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tipo', models.CharField(max_length=255, verbose_name='Tipo de Alumno')),
            ],
        ),
        migrations.CreateModel(
            name='CatalogoTipoDocumento',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('tipo', models.CharField(max_length=255, verbose_name='Tipo de Documento')),
            ],
        ),
        migrations.CreateModel(
            name='TablaAlumno',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nombre', models.CharField(max_length=255, verbose_name='Nombre')),
                ('apellidoP', models.CharField(max_length=255, verbose_name='Apellido Paterno')),
                ('apellidoM', models.CharField(max_length=255, verbose_name='Apellido Materno')),
                ('boleta', models.IntegerField(verbose_name='Boleta')),
                ('tipo', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Ventanilla.CatalogoTipoAlumno')),
            ],
            options={
                'ordering': ('id', 'boleta'),
            },
        ),
        migrations.CreateModel(
            name='TablaSolicitud',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fecha', models.DateField(default=datetime.date.today, verbose_name='Fecha')),
                ('folio', models.IntegerField(verbose_name='Folio')),
                ('alumno', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Ventanilla.TablaAlumno')),
                ('documento', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Ventanilla.CatalogoTipoDocumento')),
                ('estado', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Ventanilla.CatalogoEstadoSolicitud')),
            ],
        ),
    ]
