# Generated by Django 3.2.13 on 2023-07-20 15:09

import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('authentication', '0005_auto_20230720_1509'),
        ('panel', '0032_auto_20230713_1517'),
    ]

    operations = [
        migrations.CreateModel(
            name='Hall',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('hall_number', models.IntegerField(default=1)),
            ],
        ),
        migrations.AddField(
            model_name='admin',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='admin',
            name='address',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_address', to='authentication.systemaddress'),
        ),
        migrations.AddField(
            model_name='admin',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='cityoperator',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='cityoperator',
            name='phone',
            field=models.CharField(max_length=20, null=True),
        ),
        migrations.AddField(
            model_name='inspectoroperator',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='inspectoroperator',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='jahad',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='jahad',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='killhousedriver',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='killhousedriver',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='killhousedriver',
            name='phone',
            field=models.CharField(max_length=20, null=True),
        ),
        migrations.AddField(
            model_name='poultry',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='poultry',
            name='city',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='poultry',
            name='city_name',
            field=models.CharField(max_length=100, null=True),
        ),
        migrations.AddField(
            model_name='poultry',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='poultry',
            name='province',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='poultry',
            name='province_name',
            field=models.CharField(max_length=100, null=True),
        ),
        migrations.AddField(
            model_name='poultryrequest',
            name='archive',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='poultryrequest',
            name='selling_without_city',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='provinceautoallocation',
            name='unauthorized_number',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='provinceoperator',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='provinceoperator',
            name='phone',
            field=models.CharField(max_length=20, null=True),
        ),
        migrations.AddField(
            model_name='provincialgovernment',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='provincialgovernment',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AddField(
            model_name='vet',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='vet',
            name='identity_documents',
            field=models.JSONField(null=True),
        ),
        migrations.AlterField(
            model_name='functionexecutor',
            name='compare_time',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 714136)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='assignment_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 642386)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='city_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 642318)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='kill_house_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 642371)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='province_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 642353)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 645266)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 645092)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 645114)),
        ),
        migrations.AlterField(
            model_name='totalpoultryrequestquantity',
            name='date',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 20, 15, 9, 49, 655267)),
        ),
        migrations.CreateModel(
            name='PoultryHallProfile',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('start_date', models.DateTimeField(null=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('hall', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='hall_poultry_profile', to='panel.hall')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_poultry_profile', to='authentication.systemuserprofile')),
            ],
        ),
        migrations.AddField(
            model_name='hall',
            name='poultry',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_hall', to='panel.poultry'),
        ),
        migrations.CreateModel(
            name='CityJahad',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, null=True, unique=True)),
                ('create_date', models.DateTimeField(auto_now_add=True)),
                ('modify_date', models.DateTimeField(auto_now=True)),
                ('trash', models.BooleanField(default=False)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_jahad_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityjahad_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityjahad_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_jahad_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_jahad_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_jahad_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
