# Generated by Django 5.2.7 on 2025-12-09 12:39

import django.contrib.gis.db.models.fields
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('mainapp', '0020_satellite_location_place'),
    ]

    operations = [
        migrations.AddField(
            model_name='sourcerequest',
            name='card_date',
            field=models.DateField(blank=True, help_text='Дата формирования карточки', null=True, verbose_name='Дата формирования карточки'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='coords_source',
            field=django.contrib.gis.db.models.fields.PointField(blank=True, help_text='Координаты источника (WGS84)', null=True, srid=4326, verbose_name='Координаты источника'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='downlink',
            field=models.FloatField(blank=True, help_text='Частота downlink в МГц', null=True, verbose_name='Частота Downlink, МГц'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='region',
            field=models.CharField(blank=True, help_text='Район/местоположение', max_length=255, null=True, verbose_name='Район'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='satellite',
            field=models.ForeignKey(blank=True, help_text='Связанный спутник', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='satellite_requests', to='mainapp.satellite', verbose_name='Спутник'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='transfer',
            field=models.FloatField(blank=True, help_text='Перенос по частоте в МГц', null=True, verbose_name='Перенос, МГц'),
        ),
        migrations.AddField(
            model_name='sourcerequest',
            name='uplink',
            field=models.FloatField(blank=True, help_text='Частота uplink в МГц', null=True, verbose_name='Частота Uplink, МГц'),
        ),
        migrations.AlterField(
            model_name='sourcerequest',
            name='coords',
            field=django.contrib.gis.db.models.fields.PointField(blank=True, help_text='Координаты ГСО (WGS84)', null=True, srid=4326, verbose_name='Координаты ГСО'),
        ),
        migrations.AlterField(
            model_name='sourcerequest',
            name='source',
            field=models.ForeignKey(blank=True, help_text='Связанный источник', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='source_requests', to='mainapp.source', verbose_name='Источник'),
        ),
    ]
