# Generated by Django 2.1.7 on 2019-10-28 01:37

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Empresa',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('nombre', models.CharField(max_length=10000, unique=True)),
                ('description', models.CharField(max_length=10000)),
                ('direccion', models.CharField(max_length=10000)),
                ('horario', models.CharField(max_length=10000)),
                ('telefono', models.CharField(max_length=10000)),
                ('correo', models.EmailField(max_length=254)),
                ('serv_origen', models.CharField(max_length=10000)),
                ('serv_destino', models.CharField(max_length=10000)),
                ('latitud', models.FloatField()),
                ('longitud', models.FloatField()),
            ],
        ),
        migrations.CreateModel(
            name='Parada',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('nombre', models.CharField(max_length=10000, unique=True)),
                ('description', models.CharField(max_length=10000)),
                ('horario', models.CharField(max_length=10000)),
                ('latitud', models.FloatField()),
                ('longitud', models.FloatField()),
            ],
        ),
        migrations.CreateModel(
            name='Ruta',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('nombre', models.CharField(max_length=10000, unique=True)),
                ('description', models.CharField(max_length=10000)),
                ('costo', models.FloatField()),
                ('horario', models.CharField(max_length=10000)),
                ('duracion_viaje', models.CharField(max_length=10000)),
                ('inclusivo', models.BooleanField(default=False, verbose_name='Apto para discapacitados')),
                ('origen_latitud', models.FloatField()),
                ('origen_longitud', models.FloatField()),
                ('destino_latitud', models.FloatField()),
                ('destino_longitud', models.FloatField()),
                ('empresa', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pages.Empresa')),
            ],
        ),
    ]
