# Generated by Django 5.0 on 2025-06-29 05:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('authentication', '0023_alter_organization_company_code_and_more'),
        ('product', '0031_broker_organization_quota_assigned_organizations_and_more'),
        ('warehouse', '0004_inventoryentry_distribution'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='inventoryentry',
            name='warehouse',
        ),
        migrations.AddField(
            model_name='inventoryentry',
            name='delivery_address',
            field=models.TextField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='inventoryentry',
            name='lading_number',
            field=models.CharField(max_length=50, null=True),
        ),
        migrations.AddField(
            model_name='inventoryentry',
            name='organization',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inventory', to='authentication.organization'),
        ),
        migrations.AddField(
            model_name='inventoryentry',
            name='weight',
            field=models.PositiveBigIntegerField(default=0),
        ),
        migrations.AlterField(
            model_name='inventoryentry',
            name='distribution',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inventory_entry', to='product.quotadistribution'),
        ),
        migrations.DeleteModel(
            name='WareHouse',
        ),
    ]
