# Generated by Django 5.0 on 2025-06-28 11:04

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


class Migration(migrations.Migration):

    dependencies = [
        ('authentication', '0022_alter_user_mobile_alter_user_national_code'),
        ('product', '0030_remove_broker_organization_relations'),
    ]

    operations = [
        migrations.AddField(
            model_name='broker',
            name='organization',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='product_organization', to='authentication.organization'),
        ),
        migrations.AddField(
            model_name='quota',
            name='assigned_organizations',
            field=models.ManyToManyField(blank=True, related_name='assigned_quotas', to='authentication.organization'),
        ),
        migrations.AddField(
            model_name='quota',
            name='registerer_organization',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='quotas', to='authentication.organization'),
        ),
        migrations.AddField(
            model_name='quotadistribution',
            name='assigned_organization',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='distributions', to='authentication.organization'),
        ),
        migrations.AddField(
            model_name='quotadistribution',
            name='assigner_organization',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='distributions_assigner', to='authentication.organization'),
        ),
    ]
