# Generated by Django 5.2.7 on 2026-01-23 15:12

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0010_shipment_destination_country_shipment_origin_country_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='TruckType',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, verbose_name='Name (EN)')),
                ('name_ar', models.CharField(blank=True, max_length=100, verbose_name='Name (AR)')),
            ],
            options={
                'verbose_name': 'Truck Type',
                'verbose_name_plural': 'Truck Types',
            },
        ),
        migrations.AlterField(
            model_name='truck',
            name='truck_type',
            field=models.CharField(blank=True, max_length=100, verbose_name='Truck Type (EN)'),
        ),
        migrations.AddField(
            model_name='shipment',
            name='required_truck_type_link',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.trucktype', verbose_name='Required Truck Type'),
        ),
        migrations.AddField(
            model_name='truck',
            name='truck_type_link',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.trucktype', verbose_name='Truck Type (New)'),
        ),
    ]
