# Generated by Django 3.2 on 2023-02-23 15:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('service', '0002_auto_20230218_1927'),
    ]

    operations = [
        migrations.CreateModel(
            name='AO',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.TextField(blank=True, null=True, verbose_name='Округ')),
            ],
        ),
        migrations.RenameField(
            model_name='placementpoint',
            old_name='age',
            new_name='age_day',
        ),
        migrations.RemoveField(
            model_name='placementpoint',
            name='delta',
        ),
        migrations.RemoveField(
            model_name='placementpoint',
            name='location_id',
        ),
        migrations.RemoveField(
            model_name='placementpoint',
            name='plan',
        ),
        migrations.RemoveField(
            model_name='placementpoint',
            name='prediction',
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='address',
            field=models.TextField(blank=True, null=True, verbose_name='Адрес'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='delta_current',
            field=models.IntegerField(blank=True, null=True, verbose_name='Разница текущая'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='delta_first',
            field=models.IntegerField(blank=True, null=True, verbose_name='Разница начальная'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='doors',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='enrg_cls',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='flat_cnt',
            field=models.IntegerField(blank=True, null=True, verbose_name='Количество квартир'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='flats_cnt',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='levels',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='mat_nes',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='name',
            field=models.TextField(blank=True, null=True, verbose_name='Название'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='other_post_cnt',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='plan_current',
            field=models.IntegerField(blank=True, null=True, verbose_name='Плановый показатель текущий'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='plan_first',
            field=models.IntegerField(blank=True, null=True, verbose_name='Плановый показатель начальный'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='popul_home',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='popul_job',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='prediction_current',
            field=models.IntegerField(blank=True, null=True, verbose_name='Прогноз текущий'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='prediction_first',
            field=models.IntegerField(blank=True, null=True, verbose_name='Прогноз начальный'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='start_date',
            field=models.DateTimeField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='target_post_cnt',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='year_bld',
            field=models.IntegerField(blank=True, null=True, verbose_name='Год постройки'),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='yndxfood_cnt',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='yndxfood_cnt_cst',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='placementpoint',
            name='yndxfood_sum',
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='placementpoint',
            name='sample_trn',
            field=models.BooleanField(blank=True, null=True),
        ),
        migrations.CreateModel(
            name='Rayon',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.TextField(blank=True, null=True, verbose_name='Район')),
                ('AO', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='service.ao')),
            ],
        ),
        migrations.AlterField(
            model_name='placementpoint',
            name='okrug',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='service.ao'),
        ),
        migrations.AlterField(
            model_name='placementpoint',
            name='rayon',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='service.rayon'),
        ),
    ]
