# Generated by Django 5.2.11 on 2026-03-28 08:54

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0006_add_traccar_fields_to_transporter_profile'),
    ]

    operations = [
        migrations.CreateModel(
            name='PlatformSettings',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('load_visibility_radius_km', models.DecimalField(decimal_places=2, default=50, help_text='Default search radius when transporter omits radius and distance_range.', max_digits=6)),
                ('load_visibility_max_radius_km', models.DecimalField(decimal_places=2, default=500, help_text='Upper cap for client-supplied radius_km.', max_digits=7)),
            ],
            options={
                'verbose_name': 'Platform settings',
                'verbose_name_plural': 'Platform settings',
            },
        ),
        migrations.AddField(
            model_name='vehicle',
            name='max_height_m',
            field=models.DecimalField(blank=True, decimal_places=3, help_text='Max cargo height (m); optional, for dimension matching.', max_digits=8, null=True),
        ),
        migrations.AddField(
            model_name='vehicle',
            name='max_length_m',
            field=models.DecimalField(blank=True, decimal_places=3, help_text='Max cargo length (m); optional, for dimension matching.', max_digits=8, null=True),
        ),
        migrations.AddField(
            model_name='vehicle',
            name='max_width_m',
            field=models.DecimalField(blank=True, decimal_places=3, help_text='Max cargo width (m); optional, for dimension matching.', max_digits=8, null=True),
        ),
    ]
