# Generated by Django 5.0.6 on 2024-06-02 17:04

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


class Migration(migrations.Migration):

    dependencies = [
        ('pt_map', '0007_location_translation_attribution_bookingrule'),
    ]

    operations = [
        migrations.CreateModel(
            name='Area',
            fields=[
                ('area_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('area_name', models.CharField(max_length=255)),
                ('area_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='FareLegRule',
            fields=[
                ('fare_leg_rule_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('fare_leg_rule_name', models.CharField(max_length=255)),
                ('fare_leg_rule_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='FareMedia',
            fields=[
                ('fare_media_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('fare_media_name', models.CharField(max_length=255)),
                ('fare_media_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='FareProduct',
            fields=[
                ('fare_product_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('fare_product_name', models.CharField(max_length=255)),
                ('fare_product_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='FareTransferRule',
            fields=[
                ('fare_transfer_rule_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('fare_transfer_rule_name', models.CharField(max_length=255)),
                ('fare_transfer_rule_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='LocationGroup',
            fields=[
                ('location_group_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('location_group_name', models.CharField(max_length=255)),
                ('location_group_type', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Network',
            fields=[
                ('network_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('network_name', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='RouteNetwork',
            fields=[
                ('route_network_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('route_network_name', models.CharField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='StopArea',
            fields=[
                ('stop_area_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('stop_area_name', models.CharField(max_length=255)),
                ('stop_area_description', models.TextField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='TimeFrame',
            fields=[
                ('time_frame_id', models.CharField(max_length=255, primary_key=True, serialize=False)),
                ('start_date', models.DateField()),
                ('end_date', models.DateField()),
                ('start_time', models.TimeField()),
                ('end_time', models.TimeField()),
            ],
        ),
        migrations.CreateModel(
            name='LocationGroupStop',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('location_group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pt_map.locationgroup')),
                ('stop', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pt_map.stop')),
            ],
        ),
    ]
