# Generated by Django 3.2.13 on 2023-09-18 19:32

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('notification', '0001_initial'),
        ('auth', '0012_alter_user_first_name_max_length'),
        ('authentication', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='CityOperator',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('city_operator_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('identity_documents', models.JSONField(null=True)),
                ('phone', models.CharField(max_length=20, null=True)),
                ('unit_name', models.CharField(max_length=50, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_system_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityoperator_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityoperator_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_operator_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_operator_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='CityOperatorCheckRequest',
            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)),
                ('city_operator_system_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('city_operator_check_request_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('message', models.CharField(max_length=500, null=True)),
                ('allow_hatching', models.BooleanField(null=True)),
                ('show_province', models.BooleanField(default=True)),
                ('province_accept', models.BooleanField(default=False)),
                ('province_state', models.CharField(default='pending', max_length=20)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('city_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_city_operator', to='authentication.userprofile')),
                ('city_operator_system', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_city_operator', to='panel.cityoperator')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityoperatorcheckrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cityoperatorcheckrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Guilds',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('provincial_government_id_key', models.IntegerField(null=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('guilds_id', models.CharField(max_length=50, null=True)),
                ('license_number', models.CharField(max_length=50, null=True)),
                ('guilds_name', models.CharField(max_length=100, null=True)),
                ('type_activity', models.CharField(max_length=100, null=True)),
                ('area_activity', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('steward', models.BooleanField(default=False)),
                ('centers_allocation', models.JSONField(null=True)),
                ('kill_house_centers_allocation', models.JSONField(null=True)),
                ('allocation_limit', models.BigIntegerField(null=True)),
                ('limitation_allocation', models.BooleanField(default=False)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        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.CreateModel(
            name='InspectorOperator',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('inspector_operator_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('active', models.BooleanField(default=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('id_number', models.IntegerField(default=1)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspector_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspectoroperator_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspectoroperator_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspector_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_inspector_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Itransaction',
            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)),
                ('transfer_amount', models.FloatField(null=True)),
                ('transaction_type', models.CharField(max_length=20, null=True)),
                ('payment_code', models.BigIntegerField(default=0, null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('make_location_state', models.CharField(max_length=20, null=True)),
                ('file_id', models.IntegerField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='itransaction_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='itransaction_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouse',
            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)),
                ('system_address_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_operator_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_id_key', models.IntegerField(null=True)),
                ('shift_work_from', models.CharField(max_length=50, null=True)),
                ('shift_work_to', models.CharField(max_length=50, null=True)),
                ('name', models.CharField(max_length=50, null=True)),
                ('car', models.JSONField(default=dict, null=True)),
                ('capacity', models.FloatField(default=0)),
                ('killing_race', models.CharField(max_length=20, null=True)),
                ('phone', models.CharField(max_length=20, null=True)),
                ('killer', models.BooleanField(default=False)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_address', to='authentication.address')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_createdby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseADDCAR',
            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)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('driver_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_add_car_id_key', models.IntegerField(null=True)),
                ('status', models.CharField(default='inactive', max_length=50)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseaddcar_createdby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseAssignmentInformation',
            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)),
                ('kill_house_check_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_request_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_kill_house_assingment_information_id_key', models.IntegerField(null=True)),
                ('car_weight_without_load', models.FloatField(default=0)),
                ('car_weight_without_load_image', models.CharField(max_length=500, null=True)),
                ('car_weight_with_load', models.FloatField(default=0)),
                ('car_weight_with_load_image', models.CharField(max_length=500, null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('net_weight', models.FloatField(default=0)),
                ('exploited_carcass', models.FloatField(default=0)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('poultry', models.BooleanField(default=False)),
                ('city', models.BooleanField(default=False)),
                ('province', models.BooleanField(default=False)),
                ('unusual_casualties', models.BooleanField(default=False)),
                ('real_quantity', models.IntegerField(default=0)),
                ('importer', models.JSONField(default=dict, null=True)),
                ('protest_time', models.DateTimeField(null=True)),
                ('weight_withs_losses', models.FloatField(default=0, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseassignmentinformation_createdby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseDailyQuota',
            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)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('killer_kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_daily_quota_id_key', models.IntegerField(null=True)),
                ('percent', models.FloatField(default=0)),
                ('quantity', models.BigIntegerField(default=0)),
                ('remain_quantity', models.BigIntegerField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousedailyquota_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percent_killhouse_daily_quota', to='panel.killhouse')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseFactorToPoultry',
            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)),
                ('payment_code', models.CharField(max_length=100, null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('payment_state', models.CharField(max_length=50, null=True)),
                ('payment_method', models.CharField(max_length=50, null=True)),
                ('factor_image', models.CharField(max_length=500, null=True)),
                ('message', models.CharField(max_length=500, null=True)),
                ('importer', models.CharField(max_length=100, null=True)),
                ('archive_state', models.CharField(default='pending', max_length=50)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefactortopoultry_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefactortopoultry_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseFactorToProvince',
            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)),
                ('province_factor_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_factor_to_province_id_key', models.IntegerField(null=True)),
                ('payment_code', models.CharField(max_length=100, null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('payment_state', models.CharField(max_length=50, null=True)),
                ('payment_method', models.CharField(max_length=50, null=True)),
                ('factor_image', models.CharField(max_length=500, null=True)),
                ('message', models.CharField(max_length=500, null=True)),
                ('importer', models.CharField(max_length=100, null=True)),
                ('archive_state', models.CharField(default='pending', max_length=50)),
                ('first_payment', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefactortoprovince_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefactortoprovince_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseRequest',
            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)),
                ('killhouse_user_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('add_car_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_request_id_key', models.IntegerField(null=True)),
                ('capacity', models.BigIntegerField(default=0)),
                ('quantity', models.BigIntegerField(default=0)),
                ('bar_code', models.BigIntegerField(null=True)),
                ('fee', models.FloatField(default=0, null=True)),
                ('time', models.CharField(max_length=20, null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('vet_state', models.CharField(default='pending', max_length=20)),
                ('active_state', models.CharField(default='active', max_length=20)),
                ('assignment_state_archive', models.CharField(default='pending', max_length=20)),
                ('show_kill_house', models.CharField(default='pending', max_length=20)),
                ('car', models.JSONField(default=dict, null=True)),
                ('kill_house_message', models.TextField(max_length=1000, null=True)),
                ('allocation_state', models.CharField(max_length=20, null=True)),
                ('auction', models.BooleanField(default=False)),
                ('role', models.JSONField(null=True)),
                ('clearance_code', models.CharField(max_length=200, null=True)),
                ('traffic_code', models.CharField(max_length=200, null=True)),
                ('registrar_clearance_code', models.JSONField(null=True)),
                ('editor_traffic_code', models.JSONField(null=True)),
                ('bar_remover', models.JSONField(null=True)),
                ('accepted_real_quantity', models.BigIntegerField(default=0)),
                ('accepted_real_weight', models.FloatField(default=0)),
                ('message', models.CharField(max_length=200, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('add_car', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_add_car', to='panel.killhouseaddcar')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequest_createdby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseRequestAction',
            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)),
                ('fee', models.FloatField(default=0, null=True)),
                ('date', models.DateTimeField(null=True)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestaction_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_auction_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestaction_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseRequestExchangeReserve',
            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)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchangereserve_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_exchange_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchangereserve_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseVet',
            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)),
                ('vet_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_vet_id_key', models.IntegerField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousevet_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_vet', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousevet_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseWareHouse',
            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)),
                ('bar_quantity', models.BigIntegerField(default=0)),
                ('allocated_quantity', models.BigIntegerField(default=0)),
                ('bar_live_weight', models.FloatField(default=0)),
                ('number_of_carcasses', models.BigIntegerField(default=0)),
                ('updated_number_of_carcasses', models.BigIntegerField(default=0)),
                ('weight_of_carcasses', models.FloatField(default=0)),
                ('updated_weight_of_carcasses', models.FloatField(default=0)),
                ('ave_weight_of_carcasses', models.FloatField(default=0)),
                ('update_ave_weight_of_carcasses', models.FloatField(default=0)),
                ('free_bar_quantity', models.BigIntegerField(default=0)),
                ('number_of_free_carcasses', models.BigIntegerField(default=0)),
                ('free_weight_of_carcasses', models.FloatField(default=0)),
                ('total_bar_quantity', models.BigIntegerField(default=0)),
                ('total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('update_total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('total_weight_of_carcasses', models.FloatField(default=0)),
                ('update_total_weight_of_carcasses', models.FloatField(default=0)),
                ('allocated_total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('allocated_total_weight_of_carcasses', models.FloatField(default=0)),
                ('remain_total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('remain_total_weight_of_carcasses', models.FloatField(default=0)),
                ('final_registration', models.BooleanField(default=False)),
                ('date', models.DateTimeField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousewarehouse_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ware_house_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousewarehouse_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillRequest',
            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)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('slaughter_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_id_key', models.IntegerField(null=True)),
                ('kill_capacity', models.IntegerField(null=True)),
                ('remain_quantity_for_poultry', models.IntegerField(default=0)),
                ('remain_quantity', models.IntegerField(null=True)),
                ('recive_time', models.CharField(max_length=50, null=True)),
                ('recive_date', models.DateTimeField(null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('province_state', models.CharField(default='pending', max_length=20)),
                ('province_quantity', models.IntegerField(null=True)),
                ('cars', models.JSONField(default=dict)),
                ('buy_type', models.JSONField(default=dict, null=True)),
                ('weight', models.CharField(max_length=200, null=True)),
                ('weight_type', models.JSONField(default=dict, null=True)),
                ('chicken_breed', models.CharField(max_length=200, null=True)),
                ('old_chicken_breed', models.CharField(max_length=200, null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('Index_weight', models.FloatField(null=True)),
                ('first_average_weight', models.FloatField(default=0)),
                ('second_average_weight', models.FloatField(default=0)),
                ('factor_amount', models.FloatField(default=0)),
                ('allocated_number', models.FloatField(default=0)),
                ('factor_deposit', models.FloatField(default=0)),
                ('debt', models.BooleanField(default=False)),
                ('priority', models.BooleanField(default=False)),
                ('debt_amount', models.FloatField(default=0)),
                ('sms_payment', models.BooleanField(default=False)),
                ('automatic', models.BooleanField(default=False)),
                ('automatic_debt', models.BooleanField(default=False)),
                ('payment_info', models.JSONField(null=True)),
                ('registrar', models.JSONField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('slaughter_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='slaughter_kill_req', to='panel.killhouse')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillRequestFactor',
            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)),
                ('kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_factor_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('amount', models.FloatField(default=0)),
                ('minimum_amount', models.FloatField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequestfactor_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='factor_kill_req', to='panel.killrequest')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequestfactor_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='LastUpdate',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('poultry_hatching', models.JSONField(null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Poultry',
            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)),
                ('owner_id_foreign_key', models.IntegerField(null=True)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('city_operator', models.CharField(max_length=150, null=True)),
                ('unit_name', models.CharField(max_length=100, null=True)),
                ('password', models.CharField(max_length=100, null=True)),
                ('gis_code', models.CharField(max_length=30, null=True)),
                ('operating_licence_capacity', models.BigIntegerField(default=0)),
                ('number_of_halls', models.IntegerField(default=0)),
                ('tenant', models.BooleanField(default=False, null=True)),
                ('has_tenant', models.BooleanField(default=False, null=True)),
                ('person_type', models.CharField(max_length=10, null=True)),
                ('economic_code', models.CharField(max_length=30, null=True)),
                ('system_code', models.CharField(max_length=20, null=True)),
                ('epidemiological_code', models.CharField(max_length=20, null=True)),
                ('breeding_unique_id', models.CharField(max_length=20, null=True)),
                ('total_capacity', models.BigIntegerField(default=0)),
                ('licence_number', models.CharField(max_length=20, null=True)),
                ('health_certificate_number', models.CharField(max_length=20, null=True)),
                ('number_of_requests', models.BigIntegerField(default=0)),
                ('hatching_date', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 605532))),
                ('last_party_date', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 605532))),
                ('number_of_incubators', models.BigIntegerField(default=0)),
                ('herd_age_by_day', models.IntegerField(default=0)),
                ('herd_age_by_week', models.IntegerField(default=0)),
                ('number_of_party', models.IntegerField(default=0)),
                ('communication_type', models.CharField(max_length=30, null=True)),
                ('cooperative', models.CharField(max_length=50, null=True)),
                ('date_of_register', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 605532))),
                ('unit_status', models.CharField(max_length=20, null=True)),
                ('active', models.BooleanField(default=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('samasat_user_code', models.CharField(max_length=20, null=True)),
                ('base_order', models.BigIntegerField(null=True)),
                ('incubation_date', models.DateTimeField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('city', models.IntegerField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('wallet_id_foreign_key', models.IntegerField(default=1)),
                ('poultry_id_key', models.IntegerField(default=1)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_system_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('owner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_owner', to='panel.poultry')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryAssignmentInformation',
            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)),
                ('car_weight_without_load', models.FloatField(default=0)),
                ('car_weight_without_load_image', models.CharField(max_length=500, null=True)),
                ('car_weight_with_load', models.FloatField(default=0)),
                ('car_weight_with_load_image', models.CharField(max_length=500, null=True)),
                ('net_weight', models.FloatField(default=0)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryassignmentinformation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryassignmentinformation_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryHatching',
            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)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_hatching_id_key', models.IntegerField(null=True)),
                ('quantity', models.BigIntegerField(default=0)),
                ('losses', models.BigIntegerField(default=0)),
                ('left_over', models.BigIntegerField(null=True)),
                ('request_left_over', models.BigIntegerField(default=0)),
                ('hall', models.IntegerField(default=0)),
                ('date', models.DateTimeField(null=True)),
                ('chicken_breed', models.CharField(max_length=200, null=True)),
                ('period', models.BigIntegerField(default=0, null=True)),
                ('allow_hatching', models.CharField(default='pending', max_length=20)),
                ('state', models.CharField(default='pending', max_length=50)),
                ('archive', models.BooleanField(default=False)),
                ('message', models.CharField(max_length=500, null=True)),
                ('registrar', models.JSONField(null=True)),
                ('breed', models.JSONField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('last_change', models.JSONField(null=True)),
                ('chicken_age', models.IntegerField(default=1)),
                ('latest_hatching_change', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryhatching_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryhatching_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_hatching_user', to='panel.poultry')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryRequest',
            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)),
                ('city_operator_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_hatching_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_key', models.IntegerField(null=True)),
                ('quantity', models.BigIntegerField(default=0)),
                ('previous_quantity', models.BigIntegerField(default=0)),
                ('remain_quantity', models.BigIntegerField(default=0)),
                ('first_quantity', models.BigIntegerField(default=0)),
                ('losses', models.BigIntegerField(default=0)),
                ('send_date', models.DateTimeField(null=True)),
                ('chicken_breed', models.CharField(max_length=200, null=True)),
                ('Index_weight', models.FloatField(null=True)),
                ('state', models.JSONField(default=dict, null=True)),
                ('state_process', models.CharField(default='pending', max_length=50)),
                ('province_state', models.CharField(default='pending', max_length=50)),
                ('order_code', models.BigIntegerField(null=True)),
                ('general_order_code', models.BigIntegerField(null=True)),
                ('message', models.CharField(max_length=500, null=True)),
                ('inspector', models.CharField(max_length=30, null=True)),
                ('union', models.BooleanField(default=False)),
                ('awaiting_payment', models.BooleanField(default=False)),
                ('assignment', models.BooleanField(default=False)),
                ('auction', models.BooleanField(default=False)),
                ('fee', models.FloatField(default=0)),
                ('final_state', models.CharField(default='pending', max_length=50)),
                ('cell_type', models.JSONField(default=dict, null=True)),
                ('kill_house_list', models.JSONField(null=True)),
                ('registrar', models.JSONField(null=True)),
                ('buyer', models.JSONField(null=True)),
                ('out', models.BooleanField(default=False)),
                ('vet', models.BooleanField(default=False)),
                ('archive', models.BooleanField(default=False)),
                ('selling_without_city', models.BooleanField(default=False)),
                ('clearance_code', models.BigIntegerField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('city_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_city_operator', to='panel.cityoperator')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('hatching', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_hatching', to='panel.poultryhatching')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_poultry', to='panel.poultry')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryRequestExchange',
            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)),
                ('quantity', models.BigIntegerField(default=0, null=True)),
                ('send_date', models.DateTimeField(null=True)),
                ('hatching_date', models.DateTimeField(null=True)),
                ('chicken_breed', models.CharField(max_length=20, null=True)),
                ('Index_weight', models.FloatField(null=True)),
                ('fee', models.FloatField(null=True)),
                ('order_code', models.IntegerField(null=True)),
                ('longitude', models.FloatField(default=0)),
                ('latitude', models.FloatField(default=0)),
                ('address', models.TextField()),
                ('age', models.IntegerField(default=0, null=True)),
                ('inspector', models.CharField(max_length=30, null=True)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestexchange_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestexchange_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_exchange', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PriceAnalysis',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('corn_percent', models.FloatField(default=0, null=True)),
                ('corn_free_price', models.FloatField(default=0, null=True)),
                ('corn_Ration_free_price', models.FloatField(default=0, null=True)),
                ('corn_total_free_price', models.FloatField(default=0, null=True)),
                ('Soy_free_price', models.FloatField(default=0, null=True)),
                ('Soy_total_free_price', models.FloatField(default=0, null=True)),
                ('Soy_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Soy_percent', models.FloatField(default=0, null=True)),
                ('Oil_percent', models.FloatField(default=0, null=True)),
                ('Oil_free_price', models.FloatField(default=0, null=True)),
                ('Oil_total_free_price', models.FloatField(default=0, null=True)),
                ('Oil_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Dicalcium_free_price', models.FloatField(default=0, null=True)),
                ('Dicalcium_total_free_price', models.FloatField(default=0, null=True)),
                ('Dicalcium_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Dicalcium_percent', models.FloatField(default=0, null=True)),
                ('Carbonate_free_price', models.FloatField(default=0, null=True)),
                ('Carbonate_total_free_price', models.FloatField(default=0, null=True)),
                ('Carbonate_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Carbonate_percent', models.FloatField(default=0, null=True)),
                ('mineral_supplement_percent', models.FloatField(default=0, null=True)),
                ('mineral_Ration_supplement_free_price', models.FloatField(default=0, null=True)),
                ('mineral_supplement_free_price', models.FloatField(default=0, null=True)),
                ('mineral_supplement_total_free_price', models.FloatField(default=0, null=True)),
                ('vitamin_supplement_free_price', models.FloatField(default=0, null=True)),
                ('vitamin_supplement_total_free_price', models.FloatField(default=0, null=True)),
                ('vitamin_supplement_percent', models.FloatField(default=0, null=True)),
                ('vitamin_Ration_free_supplement_percent', models.FloatField(default=0, null=True)),
                ('baking_soda_free_price', models.FloatField(default=0, null=True)),
                ('baking_soda_total_free_price', models.FloatField(default=0, null=True)),
                ('baking_Ration_soda_free_price', models.FloatField(default=0, null=True)),
                ('baking_soda_percent', models.FloatField(default=0, null=True)),
                ('Salt_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Salt_Ration_total_free_price', models.FloatField(default=0, null=True)),
                ('Salt_free_total_price', models.FloatField(default=0, null=True)),
                ('Salt_free_price', models.FloatField(default=0, null=True)),
                ('Salt_percent', models.FloatField(default=0, null=True)),
                ('metiunin_Ration_free_price', models.FloatField(default=0, null=True)),
                ('metiunin_free_price', models.FloatField(default=0, null=True)),
                ('metiunin_total_free_price', models.FloatField(default=0, null=True)),
                ('metiunin_percent', models.FloatField(default=0, null=True)),
                ('Lysine_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Lysine_free_price', models.FloatField(default=0, null=True)),
                ('Lysine_total_free_price', models.FloatField(default=0, null=True)),
                ('Lysine_percent', models.FloatField(default=0, null=True)),
                ('threonine_free_price', models.FloatField(default=0, null=True)),
                ('threonine_total_free_price', models.FloatField(default=0, null=True)),
                ('threonine_Ration_free_price', models.FloatField(default=0, null=True)),
                ('threonine_percent', models.FloatField(default=0, null=True)),
                ('Antifungal_free_price', models.FloatField(default=0, null=True)),
                ('Antifungal_total_free_price', models.FloatField(default=0, null=True)),
                ('Antifungal_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Antifungal_percent', models.FloatField(default=0, null=True)),
                ('inulin_free_price', models.FloatField(default=0, null=True)),
                ('inulin_total_free_price', models.FloatField(default=0, null=True)),
                ('inulin_Ration_free_price', models.FloatField(default=0, null=True)),
                ('inulin_percent', models.FloatField(default=0, null=True)),
                ('Fire_emulsion_free_price', models.FloatField(default=0, null=True)),
                ('Fire_total_emulsion_free_price', models.FloatField(default=0, null=True)),
                ('Fire_emulsion_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Fire_emulsion_percent', models.FloatField(default=0, null=True)),
                ('Colleen_free_price', models.FloatField(default=0, null=True)),
                ('Colleen_total_free_price', models.FloatField(default=0, null=True)),
                ('Colleen_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Colleen_percent', models.FloatField(default=0, null=True)),
                ('total_price', models.FloatField(default=0, null=True)),
                ('total_Ration_free_price', models.FloatField(default=0, null=True)),
                ('Vaccination_period', models.FloatField(default=0, null=True)),
                ('Multivitamin_course', models.FloatField(default=0, null=True)),
                ('period_chicken', models.FloatField(default=0, null=True)),
                ('directors_office', models.FloatField(default=0, null=True)),
                ('Water_gas_electricity_period', models.FloatField(default=0, null=True)),
                ('Water_gas_the_current_cost_of_the_period_unit', models.FloatField(default=0, null=True)),
                ('Course_repairs', models.FloatField(default=0, null=True)),
                ('Course_loss', models.FloatField(default=0, null=True)),
                ('motfar_ga_durah', models.FloatField(default=0, null=True)),
                ('Paper_reel', models.FloatField(default=0, null=True)),
                ('Course_disinfection', models.FloatField(default=0, null=True)),
                ('Lamp', models.FloatField(default=0, null=True)),
                ('total_percent', models.FloatField(default=0, null=True)),
                ('total_ration', models.FloatField(default=0, null=True)),
                ('chicken_price', models.FloatField(default=0, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='ProvinceCheckInformation',
            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)),
                ('kill_house_assignment_id_foreign_key', models.IntegerField(null=True)),
                ('province_operator_id_foreign_key', models.IntegerField(null=True)),
                ('province_check_information_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckinformation_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_assignment', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_assign', to='panel.killhouseassignmentinformation')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckinformation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_assignment', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_assign', to='panel.poultryassignmentinformation')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceCheckOperatorRequest',
            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)),
                ('province_operator_system_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('city_request_poultry_id_foreign_key', models.IntegerField(null=True)),
                ('province_operator_check_request_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=50, null=True)),
                ('quantity', models.BigIntegerField(default=0, null=True)),
                ('fee', models.FloatField(null=True)),
                ('total_weight_at_end', models.FloatField(default=0, null=True)),
                ('total_cost_at_end', models.FloatField(null=True)),
                ('paid_state', models.CharField(default='pending', max_length=20)),
                ('province_show_kill_house', models.CharField(default='pending', max_length=20)),
                ('factor_state', models.CharField(default='pending', max_length=20)),
                ('message', models.CharField(max_length=200, null=True)),
                ('financial_archive', models.CharField(default='pending', max_length=20)),
                ('deposit_allocation_archive', models.CharField(default='pending', max_length=20)),
                ('end_state', models.CharField(default='active', max_length=20)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('city_request_Poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Poultry_city_request_to_province', to='panel.cityoperatorcheckrequest')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckoperatorrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckoperatorrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_poultry_request', to='panel.poultryrequest')),
                ('province_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_province_operator', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceFactorToKillHouse',
            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)),
                ('total_weight', models.FloatField(default=0)),
                ('weight', models.FloatField(default=0)),
                ('factor_fee', models.FloatField(default=0)),
                ('factor_bar_code', models.BigIntegerField(null=True)),
                ('factor_date', models.DateTimeField(null=True)),
                ('total_price', models.FloatField(default=0)),
                ('province_input_amount', models.FloatField(default=0)),
                ('province_input_amount_type', models.CharField(max_length=20, null=True)),
                ('province_wage', models.FloatField(default=0)),
                ('previous_amount', models.FloatField(default=0)),
                ('decreasing_amount', models.FloatField(default=0)),
                ('today_price', models.FloatField(default=0)),
                ('kill_house_factor_payment_remain', models.FloatField(default=0)),
                ('real_weight', models.FloatField(default=0)),
                ('shares', models.JSONField(default=dict, null=True)),
                ('paid_state', models.CharField(default='pending', max_length=20)),
                ('pay_for', models.CharField(max_length=20, null=True)),
                ('kill_house_factor_info', models.CharField(default='pending', max_length=20)),
                ('reason', models.TextField(null=True)),
                ('sum_state', models.CharField(default='pending', max_length=20)),
                ('factor_person_type', models.CharField(default='pending', max_length=20)),
                ('province_check_info_id_foreign_key', models.IntegerField(null=True)),
                ('province_check_req_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('province_factor_to_kill_house_id_key', models.IntegerField(null=True)),
                ('out', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('bank', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='bank_card_province', to='authentication.bankcard')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincefactortokillhouse_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincefactortokillhouse_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceFactorToKillHouseForPoultry',
            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)),
                ('total_weight', models.FloatField(default=0)),
                ('weight', models.FloatField(default=0)),
                ('factor_fee', models.FloatField(default=0)),
                ('factor_bar_code', models.BigIntegerField(null=True)),
                ('factor_date', models.DateTimeField(null=True)),
                ('total_price', models.FloatField(default=0)),
                ('today_price', models.FloatField(default=0)),
                ('real_weight', models.FloatField(default=0)),
                ('shares', models.JSONField(default=dict, null=True)),
                ('paid_state', models.CharField(default='pending', max_length=20)),
                ('pay_for', models.CharField(max_length=20, null=True)),
                ('kill_house_factor_info', models.CharField(default='pending', max_length=20)),
                ('sum_state', models.CharField(default='pending', max_length=20)),
                ('out', models.BooleanField(default=False)),
                ('bank', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='bank_card_poultry', to='authentication.bankcard')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincefactortokillhouseforpoultry_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincefactortokillhouseforpoultry_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('province_check_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_info_poultry', to='panel.provincecheckinformation')),
                ('province_check_req', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_poultry', to='panel.provincecheckoperatorrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceOperator',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('province_operator_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('identity_documents', models.JSONField(null=True)),
                ('phone', models.CharField(max_length=20, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_system_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceoperator_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceoperator_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_operator_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_operator_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Steward',
            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)),
                ('active', models.BooleanField(default=True)),
                ('allocation_limit', models.BigIntegerField(null=True)),
                ('limitation_allocation', models.BooleanField(default=False)),
                ('centers_allocation', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_createdby', to=settings.AUTH_USER_MODEL)),
                ('guilds', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_guilds', to='panel.guilds')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Vet',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('vet_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_profile_vet', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VetFarm',
            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)),
                ('vet_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('vet_farm_id_key', models.IntegerField(null=True)),
                ('hall', models.IntegerField(default=0)),
                ('vetfarm_losses', models.BigIntegerField(default=0)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetfarm_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetfarm_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_farm_poultry', to='panel.poultry')),
                ('vet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_farm_vet', to='panel.vet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='WareHouseFactor',
            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)),
                ('customer', models.CharField(max_length=50, null=True)),
                ('national_code', models.CharField(max_length=20, null=True)),
                ('letter_number', models.BigIntegerField(null=True)),
                ('letter_number_jahad', models.BigIntegerField(null=True)),
                ('date', models.DateTimeField(null=True)),
                ('mobile', models.CharField(max_length=11, null=True)),
                ('product_type', models.JSONField(default=dict, null=True)),
                ('weight', models.FloatField(default=0, null=True)),
                ('fee', models.FloatField(default=0, null=True)),
                ('wage', models.FloatField(default=0, null=True)),
                ('total_wage', models.FloatField(default=0, null=True)),
                ('total_fee', models.FloatField(default=0, null=True)),
                ('total_cost', models.FloatField(default=0, null=True)),
                ('Complications', models.FloatField(default=0, null=True)),
                ('tax', models.FloatField(default=0, null=True)),
                ('discount', models.FloatField(default=0, null=True)),
                ('name_of_bank_user', models.CharField(max_length=200, null=True)),
                ('card', models.CharField(max_length=16, null=True)),
                ('shaba', models.CharField(max_length=100, null=True)),
                ('state', models.CharField(default='pending', max_length=100)),
                ('account', models.CharField(max_length=100, null=True)),
                ('mark', models.CharField(default='pending', max_length=100)),
                ('considerations', models.TextField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='warehousefactor_createdby', to=settings.AUTH_USER_MODEL)),
                ('first_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_first_operator', to='authentication.userprofile')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='warehousefactor_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('second_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_second_operator', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Wallet',
            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)),
                ('inventory', models.FloatField(default=0)),
                ('state', models.CharField(default='active', max_length=120)),
                ('province_name', models.CharField(max_length=50, null=True)),
                ('id_number', models.IntegerField(default=1)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='wallet_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='wallet_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='WagePayment',
            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)),
                ('province_kill_request', models.JSONField(null=True)),
                ('payment_type', models.CharField(max_length=50, null=True)),
                ('total_amount', models.BigIntegerField(default=0)),
                ('payer', models.JSONField(null=True)),
                ('tracking_code', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='wagepayment_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='wagepayment_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VetSupervisor',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('vet_id_foreign_key', models.IntegerField(null=True)),
                ('vet_superviser_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetsupervisor_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetsupervisor_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_bank_info', to='authentication.bankcard')),
                ('vet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_supervisor', to='panel.vet')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='supervisor_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VetFarmInspection',
            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)),
                ('vet_farm_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_hatching_id_foreign_key', models.IntegerField(null=True)),
                ('vet_farm_inspection_id_key', models.IntegerField(null=True)),
                ('hall', models.IntegerField(default=0)),
                ('topic', models.CharField(max_length=500, null=True)),
                ('description', models.TextField(null=True)),
                ('Losses', models.BigIntegerField(default=0)),
                ('image', models.JSONField(null=True)),
                ('longitude', models.FloatField(default=0)),
                ('latitude', models.FloatField(default=0)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetfarminspection_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetfarminspection_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_hatching', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_farm_inspection_poultry_hatching', to='panel.poultryhatching')),
                ('vet_farm', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_farm_inspection', to='panel.vetfarm')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VetCheckRequest',
            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)),
                ('kill_house_vet_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_request_id_foreign_key', models.IntegerField(null=True)),
                ('vet_check_request_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetcheckrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_vet', to='panel.killhouserequest')),
                ('kill_house_vet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_user_vet', to='panel.killhousevet')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetcheckrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='VetCheckAllocations',
            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)),
                ('vet_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_request_id_foreign_key', models.IntegerField(null=True)),
                ('vet_chick_allocations_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(default='pending', max_length=50)),
                ('reviewer', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetcheckallocations_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='check_kill_house_request', to='panel.killhouserequest')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vetcheckallocations_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('vet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_check', to='panel.vet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='vet',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='vet_wallet', to='panel.wallet'),
        ),
        migrations.CreateModel(
            name='TotalPoultryRequestQuantity',
            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)),
                ('quantity', models.BigIntegerField(default=0)),
                ('accepted_quantity', models.BigIntegerField(default=0)),
                ('first_quantity', models.BigIntegerField(default=0)),
                ('city_accepted_quantity', models.BigIntegerField(default=0)),
                ('allocated_quantity', models.BigIntegerField(default=0)),
                ('number_of_poultry', models.BigIntegerField(default=0)),
                ('rejected_quantity', models.BigIntegerField(default=0)),
                ('waiting_quantity', models.BigIntegerField(default=0)),
                ('number_of_kill_house', models.BigIntegerField(default=0)),
                ('input_quantity', models.BigIntegerField(default=0)),
                ('assignableQuantity', models.BigIntegerField(default=0)),
                ('kill_requests_quantity', models.BigIntegerField(default=0)),
                ('date', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 612526))),
                ('age_up_45', models.BigIntegerField(default=0, null=True)),
                ('total_poultry_request_quantity_id_key', models.IntegerField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='totalpoultryrequestquantity_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='totalpoultryrequestquantity_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='StewardWareHouse',
            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)),
                ('bar_quantity', models.BigIntegerField(default=0)),
                ('allocated_quantity', models.BigIntegerField(default=0)),
                ('number_of_carcasses', models.BigIntegerField(default=0)),
                ('real_number_of_carcasses', models.BigIntegerField(default=0)),
                ('weight_of_carcasses', models.FloatField(default=0)),
                ('real_weight_of_carcasses', models.FloatField(default=0)),
                ('ave_weight_of_carcasses', models.FloatField(default=0)),
                ('allocated_total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('allocated_total_weight_of_carcasses', models.FloatField(default=0)),
                ('remain_total_number_of_carcasses', models.BigIntegerField(default=0)),
                ('remain_total_weight_of_carcasses', models.FloatField(default=0)),
                ('final_registration', models.BooleanField(default=False)),
                ('date', models.DateTimeField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardwarehouse_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardwarehouse_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('steward', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ware_house_steward', to='panel.steward')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='StewardAllocation',
            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)),
                ('number_of_carcasses', models.BigIntegerField(default=0)),
                ('real_number_of_carcasses', models.BigIntegerField(default=0)),
                ('weight_of_carcasses', models.FloatField(default=0)),
                ('real_weight_of_carcasses', models.FloatField(default=0)),
                ('sell_type', models.CharField(max_length=100, null=True)),
                ('seller_type', models.CharField(max_length=100, null=True)),
                ('final_registration', models.BooleanField(default=False)),
                ('system_registration_code', models.BooleanField(default=False)),
                ('registration_code', models.IntegerField(null=True)),
                ('logged_registration_code', models.IntegerField(null=True)),
                ('state', models.CharField(default='pending', max_length=50)),
                ('date', models.DateTimeField(null=True)),
                ('role', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardallocation_createdby', to=settings.AUTH_USER_MODEL)),
                ('guilds', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_allocation_guilds', to='panel.guilds')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardallocation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('steward', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_steward_allocation', to='panel.steward')),
                ('ware_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ware_house_steward_allocation', to='panel.killhousewarehouse')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='SmsLicense',
            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)),
                ('hatching', models.BooleanField(default=False)),
                ('poultry_request', models.BooleanField(default=False)),
                ('city_approval', models.BooleanField(default=False)),
                ('province_approval', models.BooleanField(default=False)),
                ('kill_request', models.BooleanField(default=False)),
                ('province_kill_request', models.BooleanField(default=False)),
                ('farm_veterinarian_approval', models.BooleanField(default=False)),
                ('kill_house_request', models.BooleanField(default=False)),
                ('kill_house_house_veterinarian_approval', models.BooleanField(default=False)),
                ('assingment_information', models.BooleanField(default=False)),
                ('confirmation_of_assingment_information', models.BooleanField(default=False)),
                ('invoicing', models.BooleanField(default=False)),
                ('invoice_payment', models.BooleanField(default=False)),
                ('invoice_payment_confirmation', models.BooleanField(default=False)),
                ('inspector_approval', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='smslicense_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='smslicense_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ShareOfAllocation',
            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)),
                ('province_id_foreign_key', models.IntegerField(null=True)),
                ('share_of_allocation_id_key', models.IntegerField(null=True)),
                ('central_union', models.FloatField(default=0, null=True)),
                ('province_union', models.FloatField(default=0, null=True)),
                ('city_union', models.FloatField(default=0, null=True)),
                ('fanava', models.FloatField(default=0, null=True)),
                ('central_control_system', models.FloatField(default=0, null=True)),
                ('company', models.FloatField(default=0, null=True)),
                ('vet', models.FloatField(default=0, null=True)),
                ('total', models.FloatField(default=0, null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('date', models.DateTimeField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='shareofallocation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='shareofallocation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('province', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='share_province', to='authentication.province')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='SearchFields',
            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)),
                ('type', models.CharField(max_length=100, null=True)),
                ('field_name', models.CharField(max_length=200, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='searchfields_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='searchfields_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ReportingFieldRoleLimitation',
            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)),
                ('fields', models.CharField(max_length=200, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='reportingfieldrolelimitation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='reportingfieldrolelimitation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('role_name', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='report_role', to='auth.group')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvincialGovernment',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('provincial_government_id_key', models.IntegerField(null=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='government_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincialgovernment_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincialgovernment_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='government_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='government_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='government_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceRequestAction',
            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)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincerequestaction_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincerequestaction_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_request_auction_poultry', to='panel.poultryrequest')),
                ('province_operator_system', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_province_operator_auction', to='panel.provinceoperator')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvincePercentLeftOver',
            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)),
                ('percent', models.FloatField(default=0, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincepercentleftover_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincepercentleftover_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='provinceoperator',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_wallet', to='panel.wallet'),
        ),
        migrations.CreateModel(
            name='ProvinceKillRequest',
            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)),
                ('killhouse_user_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_kill_request_id_key', models.IntegerField(null=True)),
                ('quantity', models.BigIntegerField(default=0)),
                ('main_quantity', models.BigIntegerField(default=0)),
                ('fee', models.FloatField(default=0, null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('vet_state', models.CharField(default='pending', max_length=20)),
                ('payment_type', models.CharField(max_length=20, null=True)),
                ('payment_dead_line', models.DateTimeField(null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('clearance_code', models.BigIntegerField(null=True)),
                ('automatic', models.BooleanField(default=False)),
                ('dont_show_kill_house', models.BooleanField(default=False)),
                ('reviewer', models.JSONField(null=True)),
                ('delete_message', models.CharField(max_length=200, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('wage_pay', models.BooleanField(default=False)),
                ('depositor', models.JSONField(null=True)),
                ('archive_by_province', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincekillrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_request', to='panel.killrequest')),
                ('killhouse_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_user', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincekillrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('province_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_province', to='panel.provincecheckoperatorrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceImportKillHouseOutFactors',
            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)),
                ('image', models.CharField(max_length=500, null=True)),
                ('amount', models.FloatField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceimportkillhouseoutfactors_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_factor', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_factor_out', to='panel.provincefactortokillhouse')),
                ('kill_house_factor_poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_factor_poultry_out', to='panel.provincefactortokillhouseforpoultry')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceimportkillhouseoutfactors_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('province_check', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_request', to='panel.provincecheckoperatorrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='provincefactortokillhouse',
            name='poultry_factor',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_factor_poultry', to='panel.provincefactortokillhouseforpoultry'),
        ),
        migrations.AddField(
            model_name='provincefactortokillhouse',
            name='province_check_info',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_info', to='panel.provincecheckinformation'),
        ),
        migrations.AddField(
            model_name='provincefactortokillhouse',
            name='province_check_req',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_province', to='panel.provincecheckoperatorrequest'),
        ),
        migrations.AddField(
            model_name='provincecheckoperatorrequest',
            name='province_operator_system',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_province_operator', to='panel.provinceoperator'),
        ),
        migrations.CreateModel(
            name='ProvinceCheckOperatorOutRequest',
            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)),
                ('province_operator_system_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_operator_check_out_request_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=50, null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckoperatoroutrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckoperatoroutrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_poultry_out_request', to='panel.poultryrequest')),
                ('province_operator_system', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_province_operator_out', to='panel.provinceoperator')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceCheckKillHouseFactor',
            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)),
                ('kill_house_factor_id_foreign_key', models.IntegerField(null=True)),
                ('province_check_kill_house_factor_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('message', models.CharField(max_length=500, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckkillhousefactor_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_factor', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_factor', to='panel.killhousefactortoprovince')),
                ('kill_house_factor_poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_check_factor_poultry', to='panel.killhousefactortopoultry')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provincecheckkillhousefactor_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='provincecheckinformation',
            name='province_operator',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinc_operator_check_info', to='panel.provinceoperator'),
        ),
        migrations.CreateModel(
            name='ProvinceAutoAllocation',
            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)),
                ('daily_quota_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_auto_allocation_id_key', models.IntegerField(null=True)),
                ('unauthorized_number', models.BooleanField(default=False)),
                ('quantity', models.BigIntegerField(default=0)),
                ('allocation_order_code', models.BigIntegerField(default=0)),
                ('state', models.CharField(default='temporary', max_length=50)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceautoallocation_createdby', to=settings.AUTH_USER_MODEL)),
                ('daily_quota', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percent_auto_killhouse_daily_quota_province', to='panel.killhousedailyquota')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceautoallocation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_auto_quantity_province', to='panel.poultryrequest')),
                ('province_kill_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_kill_request_auto_quantity_province', to='panel.provincekillrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowPoultrySellFreeTotal',
            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)),
                ('allow', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrysellfreetotal_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrysellfreetotal_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowPoultrySellFree',
            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)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('province_allow_poultry_sell_free_id_key', models.IntegerField(null=True)),
                ('allow', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrysellfree_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrysellfree_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_allow_poultry_sell_free', to='panel.poultry')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowPoultryChooseKillHouseTotal',
            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)),
                ('allow', models.BooleanField(default=False)),
                ('mandatory', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrychoosekillhousetotal_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrychoosekillhousetotal_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowPoultryChooseKillHouse',
            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)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('province_allow_poultry_choose_kill_house_id_key', models.IntegerField(null=True)),
                ('allow', models.BooleanField(default=False)),
                ('mandatory', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrychoosekillhouse_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowpoultrychoosekillhouse_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_allow_kill_house_register', to='panel.poultry')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowKillHouseRegisterCar',
            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)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('province_allow_kill_house_register_car_id_key', models.IntegerField(null=True)),
                ('allow', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowkillhouseregistercar_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_allow_kill_house_register', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowkillhouseregistercar_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='ProvinceAllowKillHouseChooseStewardGuilds',
            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)),
                ('steward', models.BooleanField(default=False)),
                ('guilds', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowkillhousechoosestewardguilds_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allow_kill_house_steward_guilds', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='provinceallowkillhousechoosestewardguilds_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Pricing',
            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)),
                ('date', models.DateTimeField(null=True)),
                ('live_chicken_price', models.FloatField(null=True)),
                ('dead_chicken_price', models.FloatField(null=True)),
                ('major_seller_price', models.FloatField(null=True)),
                ('retail_seller_price', models.FloatField(null=True)),
                ('floor_price', models.FloatField(null=True)),
                ('ceiling_price', models.FloatField(null=True)),
                ('role', models.CharField(max_length=20, null=True)),
                ('lock', models.BooleanField(default=False)),
                ('pricing_id_key', models.IntegerField(null=True)),
                ('operator_id_foreign_key', models.IntegerField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pricing_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pricing_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pricing_operator', to='authentication.systemuserprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PovinceInspector',
            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)),
                ('inspector_operator_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('province_inspector_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('message', models.CharField(max_length=500, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='povinceinspector_createdby', to=settings.AUTH_USER_MODEL)),
                ('inspector_operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspector', to='panel.inspectoroperator')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='povinceinspector_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_inspector', to='panel.poultryrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryTenant',
            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)),
                ('fullname', models.CharField(max_length=150, null=True)),
                ('first_name', models.CharField(max_length=200, null=True)),
                ('last_name', models.CharField(max_length=200, null=True)),
                ('natinal_id', models.CharField(max_length=10, null=True)),
                ('mobile', models.CharField(default='', max_length=11, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultrytenant_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultrytenant_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_tenant', to='panel.poultry')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_tenant_bank_info', to='authentication.bankcard')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryRequestExchangeAccept',
            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)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('message', models.CharField(max_length=200, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestexchangeaccept_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_request_exchange_reserve', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_exchange_kill_house_accept', to='panel.killhouserequestexchangereserve')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestexchangeaccept_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request_exchange', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_exchange_accept', to='panel.poultryrequestexchange')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PoultryRequestAuction',
            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)),
                ('fee', models.FloatField(default=0, null=True)),
                ('hour', models.CharField(max_length=10, null=True)),
                ('auction_date', models.DateTimeField(null=True)),
                ('state', models.CharField(default='inactive', max_length=10)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestauction_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryrequestauction_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_auction', to='panel.poultryrequest')),
                ('pricing', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request_auction_pricing', to='panel.pricing')),
            ],
            options={
                'abstract': False,
            },
        ),
        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='poultryassignmentinformation',
            name='poultry_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_assignment', to='panel.poultryrequest'),
        ),
        migrations.CreateModel(
            name='PoultryAllowCityProvince',
            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)),
                ('poultry_id_foreign_key', models.IntegerField(null=True)),
                ('poultry_allow_city_province_id_key', models.IntegerField(null=True)),
                ('city', models.BooleanField(default=False)),
                ('province', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryallowcityprovince_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultryallowcityprovince_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_allow', to='panel.poultry')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='poultry',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_wallet', to='panel.wallet'),
        ),
        migrations.CreateModel(
            name='PercentageOfLosses',
            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)),
                ('houre', models.IntegerField(default=0)),
                ('percent', models.FloatField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percentageoflosses_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percentageoflosses_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Penalty',
            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)),
                ('cost', models.IntegerField(null=True)),
                ('description', models.TextField(null=True)),
                ('image', models.CharField(max_length=300, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='penalty_createdby', to=settings.AUTH_USER_MODEL)),
                ('itransaction', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='penalty_itransaction', to='panel.itransaction')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='penalty_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PaymentDeadLine',
            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)),
                ('days', models.IntegerField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='paymentdeadline_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='paymentdeadline_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='OperatorLastTimeEnter',
            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)),
                ('city_operator_last_time_check', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 603532))),
                ('province_operator_last_time_check', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 603532))),
                ('kill_house_last_time_check', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 603532))),
                ('assignment_last_time_check', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 603532))),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='operatorlasttimeenter_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='operatorlasttimeenter_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('operator', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='operator_last_time_check', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='MostSearch',
            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)),
                ('searched_items', models.CharField(max_length=200, null=True)),
                ('count', models.IntegerField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mostsearch_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='mostsearch_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='MonthlyProfitPercentage',
            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)),
                ('days', models.IntegerField(default=0)),
                ('percent', models.IntegerField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='monthlyprofitpercentage_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='monthlyprofitpercentage_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillRequestFactorPayment',
            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)),
                ('kill_request_factor_id_foreign_key', models.IntegerField(null=True)),
                ('kill_request_factor_payment_id_key', models.IntegerField(null=True)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('image', models.CharField(max_length=200, null=True)),
                ('payment_code', models.BigIntegerField(default=0)),
                ('amount', models.FloatField(default=0)),
                ('remain_amount', models.FloatField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequestfactorpayment_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_request_factor', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_req_factor', to='panel.killrequestfactor')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killrequestfactorpayment_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhousevet',
            name='vet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_vet_user', to='panel.vet'),
        ),
        migrations.CreateModel(
            name='KillHouseRequestExchangeAddCar',
            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)),
                ('cars', models.JSONField(default=dict, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchangeaddcar_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_reserve', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_accept_reserve', to='panel.killhouserequestexchangereserve')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchangeaddcar_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseRequestExchange',
            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)),
                ('quantity', models.BigIntegerField(default=0, null=True)),
                ('send_date1', models.DateTimeField(null=True)),
                ('send_date2', models.DateTimeField(null=True)),
                ('chicken_breed', models.JSONField(default=[], null=True)),
                ('Index_weight', models.FloatField(default=0, null=True)),
                ('fee', models.FloatField(default=0, null=True)),
                ('longitude', models.FloatField(default=0)),
                ('latitude', models.FloatField(default=0)),
                ('address', models.TextField()),
                ('age1', models.IntegerField(default=0, null=True)),
                ('age2', models.IntegerField(default=0, null=True)),
                ('state', models.CharField(default='pending', max_length=15)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchange_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_exchange_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestexchange_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_exchange', to='authentication.userprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseRequestActionWinner',
            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)),
                ('fee', models.FloatField(default=0, null=True)),
                ('quantity', models.BigIntegerField(default=0, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestactionwinner_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_request_auction', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_auction_kill_house', to='panel.killhouserequestaction')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequestactionwinner_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhouserequestaction',
            name='poultry_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_auction_poultry', to='panel.poultryrequest'),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='kill_house_request_auction_winner',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_winner', to='panel.killhouserequestactionwinner'),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='kill_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_request_kill_house', to='panel.killrequest'),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='killhouse_user',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_user', to='panel.killhouse'),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='modified_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouserequest_modifiedby', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='province_kill_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_kill_house_request', to='panel.provincekillrequest'),
        ),
        migrations.AddField(
            model_name='killhouserequest',
            name='province_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_province_request', to='panel.provincecheckoperatorrequest'),
        ),
        migrations.CreateModel(
            name='KillHousePercentageOfLosses',
            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)),
                ('percent', models.FloatField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousepercentageoflosses_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousepercentageoflosses_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHousePercentage',
            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)),
                ('kill_house_for_killer_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_percentage_id_key', models.IntegerField(null=True)),
                ('percent', models.FloatField(default=0)),
                ('last_guilds_update_date', models.CharField(max_length=100, null=True)),
                ('guilds_quantity', models.IntegerField(default=0)),
                ('guilds_weight', models.FloatField(default=0)),
                ('quantity', models.BigIntegerField(default=0)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousepercentage_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percent_killhouse', to='panel.killhouse')),
                ('kill_house_for_killer', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killer_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousepercentage_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseOperator',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_operator_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('killer', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_system_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseoperator_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseoperator_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_operator_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseFreeBarInformation',
            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)),
                ('poultry_name', models.CharField(max_length=100, null=True)),
                ('poultry_mobile', models.CharField(max_length=11, null=True)),
                ('province', models.CharField(max_length=50, null=True)),
                ('city', models.CharField(max_length=50, null=True)),
                ('vet_farm_name', models.CharField(max_length=100, null=True)),
                ('vet_farm_mobile', models.CharField(max_length=11, null=True)),
                ('driver_name', models.CharField(max_length=100, null=True)),
                ('driver_mobile', models.CharField(max_length=11, null=True)),
                ('car', models.JSONField(null=True)),
                ('clearance_code', models.JSONField(null=True)),
                ('quantity', models.BigIntegerField(default=0)),
                ('number_of_carcasses', models.BigIntegerField(default=0)),
                ('weight_of_carcasses', models.FloatField(default=0)),
                ('live_weight', models.FloatField(default=0)),
                ('bar_image', models.CharField(max_length=200, null=True)),
                ('date', models.DateTimeField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefreebarinformation_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='free_bar_info_kill_house', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousefreebarinformation_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhousefactortoprovince',
            name='province_factor',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_factor_info', to='panel.provincefactortokillhouse'),
        ),
        migrations.AddField(
            model_name='killhousefactortopoultry',
            name='province_factor',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_factor_info_poultry', to='panel.provincefactortokillhouseforpoultry'),
        ),
        migrations.CreateModel(
            name='KillHouseDriver',
            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)),
                ('driver_name', models.CharField(max_length=500, null=True)),
                ('driver_mobile', models.CharField(max_length=11, null=True)),
                ('type_car', models.CharField(max_length=50, null=True)),
                ('type', models.CharField(max_length=50, null=True)),
                ('pelak', models.CharField(max_length=200, null=True)),
                ('capocity', models.CharField(max_length=50, null=True)),
                ('weight_without_load', models.CharField(max_length=50, null=True)),
                ('health_code', models.CharField(max_length=100, null=True)),
                ('status', models.CharField(default='inactive', max_length=50)),
                ('active', models.BooleanField(default=True)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_driver_id_key', models.IntegerField(null=True)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('identity_documents', models.JSONField(null=True)),
                ('phone', models.CharField(max_length=20, null=True)),
                ('registrar', models.JSONField(null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousedriver_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousedriver_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_driver', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='driver_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='driver_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhousedailyquota',
            name='kill_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='percent_kill_request_daily_quota', to='panel.killrequest'),
        ),
        migrations.AddField(
            model_name='killhousedailyquota',
            name='killer_kill_house',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killer_kill_house_daily_quota', to='panel.killhouse'),
        ),
        migrations.AddField(
            model_name='killhousedailyquota',
            name='modified_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousedailyquota_modifiedby', to=settings.AUTH_USER_MODEL),
        ),
        migrations.CreateModel(
            name='KillHouseCreditors',
            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)),
                ('amount', models.FloatField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecreditors_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_creditors', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecreditors_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseComplaint',
            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)),
                ('title', models.CharField(max_length=200, null=True)),
                ('description', models.TextField()),
                ('image', models.JSONField(null=True)),
                ('percent', models.FloatField(default=0)),
                ('state', models.CharField(default='pending', max_length=20)),
                ('message', models.CharField(max_length=20, null=True)),
                ('registrar', models.JSONField(null=True)),
                ('bar', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='bar_information', to='panel.killhouseassignmentinformation')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecomplaint_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecomplaint_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseCheckRequest',
            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)),
                ('province_kill_request_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_check_request_id_key', models.IntegerField(null=True)),
                ('role', models.JSONField(null=True)),
                ('state', models.CharField(max_length=20, null=True)),
                ('message', models.CharField(max_length=200, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecheckrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhousecheckrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('province_kill_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_kill_house_check', to='panel.provincekillrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhouseassignmentinformation',
            name='kill_house_check',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_check_req', to='panel.killhousecheckrequest'),
        ),
        migrations.AddField(
            model_name='killhouseassignmentinformation',
            name='kill_house_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_request_assignment', to='panel.killhouserequest'),
        ),
        migrations.AddField(
            model_name='killhouseassignmentinformation',
            name='modified_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseassignmentinformation_modifiedby', to=settings.AUTH_USER_MODEL),
        ),
        migrations.CreateModel(
            name='KillHouseAssignmentImages',
            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)),
                ('health_certificate_image', models.CharField(max_length=500, null=True)),
                ('national_card_image', models.CharField(max_length=500, null=True)),
                ('birth_certificate_image', models.CharField(max_length=500, null=True)),
                ('police_clearance_image', models.CharField(max_length=500, null=True)),
                ('no_addiction_image', models.CharField(max_length=500, null=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseassignmentimages_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_images', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseassignmentimages_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='KillHouseAllowVet',
            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)),
                ('kill_house_id_foreign_key', models.IntegerField(null=True)),
                ('kill_house_allow_vet_id_key', models.IntegerField(null=True)),
                ('allow', models.BooleanField(default=False)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseallowvet_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_allow', to='panel.killhouse')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseallowvet_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='killhouseaddcar',
            name='driver',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_add_car_driver', to='panel.killhousedriver'),
        ),
        migrations.AddField(
            model_name='killhouseaddcar',
            name='kill_house',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='kill_house_add_car', to='panel.killhouse'),
        ),
        migrations.AddField(
            model_name='killhouseaddcar',
            name='modified_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouseaddcar_modifiedby', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='kill_house_operator',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_kill_house_operator', to='panel.killhouseoperator'),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='modified_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_modifiedby', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='system_address',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='killhouse_system_address', to='authentication.systemaddress'),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='user',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_killhouse', to='authentication.userprofile'),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='userprofile',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='system_user_kill_house', to='authentication.systemuserprofile'),
        ),
        migrations.CreateModel(
            name='Jahad',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('jahad_id_key', models.IntegerField(null=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='jahad_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='itransaction',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='itranseaction_wallet', to='panel.wallet'),
        ),
        migrations.AddField(
            model_name='inspectoroperator',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inspector_wallet', to='panel.wallet'),
        ),
        migrations.CreateModel(
            name='HourLimit',
            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)),
                ('hour', models.IntegerField(null=True)),
                ('active', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='hourlimit_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='hourlimit_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='HatchingLossesPermission',
            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)),
                ('percent', models.FloatField(default=0)),
                ('allow', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='hatchinglossespermission_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='hatchinglossespermission_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        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='GuildsWareHouse',
            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)),
                ('bar_quantity', models.BigIntegerField(default=0)),
                ('allocated_quantity', models.BigIntegerField(default=0)),
                ('number_of_carcasses', models.BigIntegerField(default=0)),
                ('real_number_of_carcasses', models.BigIntegerField(default=0)),
                ('weight_of_carcasses', models.FloatField(default=0)),
                ('real_weight_of_carcasses', models.FloatField(default=0)),
                ('ave_weight_of_carcasses', models.FloatField(default=0)),
                ('date', models.DateTimeField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guildswarehouse_createdby', to=settings.AUTH_USER_MODEL)),
                ('guilds', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='ware_house_guilds', to='panel.guilds')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guildswarehouse_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='guilds',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guilds_wallet', to='panel.wallet'),
        ),
        migrations.CreateModel(
            name='FunctionExecutor',
            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)),
                ('func_name', models.CharField(max_length=200, null=True)),
                ('time_type', models.CharField(max_length=100, null=True)),
                ('cycle', models.IntegerField(default=0)),
                ('compare_time', models.DateTimeField(default=datetime.datetime(2023, 9, 18, 19, 32, 12, 656484))),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='functionexecutor_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='functionexecutor_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='FinancialTransaction',
            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)),
                ('type', models.CharField(max_length=50, null=True)),
                ('cost', models.IntegerField(null=True)),
                ('description', models.TextField(null=True)),
                ('image', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financialtransaction_createdby', to=settings.AUTH_USER_MODEL)),
                ('itransaction', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financial_transaction', to='panel.itransaction')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financialtransaction_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='FinancialDocument',
            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)),
                ('transaction_details', models.JSONField(null=True)),
                ('type', models.CharField(max_length=30, null=True)),
                ('cost', models.FloatField(null=True)),
                ('description', models.TextField(null=True)),
                ('payment_code', models.IntegerField(null=True)),
                ('image', models.JSONField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financialdocument_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financialdocument_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='financial_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='DriverRequestCancel',
            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)),
                ('message', models.TextField(null=True)),
                ('Kill_house_add_car', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cancel_request_car', to='panel.killhouseaddcar')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='driverrequestcancel_createdby', to=settings.AUTH_USER_MODEL)),
                ('kill_house_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='cancel_request', to='panel.killhouserequest')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='driverrequestcancel_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='DepositAllocation',
            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)),
                ('poultry_request_id_foreign_key', models.IntegerField(null=True)),
                ('deposit_allocation_id_key', models.IntegerField(null=True)),
                ('poultry_share', models.FloatField(default=0, null=True)),
                ('poultry_share_payment', models.FloatField(default=0, null=True)),
                ('poultry_share_payment_info', models.JSONField(default=list, null=True)),
                ('city_share', models.FloatField(default=0, null=True)),
                ('city_share_payment', models.FloatField(default=0, null=True)),
                ('city_share_payment_info', models.JSONField(default=list, null=True)),
                ('province_share', models.FloatField(default=0, null=True)),
                ('province_share_payment', models.FloatField(default=0, null=True)),
                ('province_share_payment_info', models.JSONField(default=list, null=True)),
                ('poultry_bank', models.JSONField(default=dict, null=True)),
                ('city_bank', models.JSONField(default=dict, null=True)),
                ('poultry_image', models.CharField(max_length=200, null=True)),
                ('city_image', models.CharField(max_length=200, null=True)),
                ('company_share', models.FloatField(default=0, null=True)),
                ('company_share_payment', models.FloatField(default=0, null=True)),
                ('company_share_payment_info', models.JSONField(default=list, null=True)),
                ('company_bank', models.JSONField(default=dict, null=True)),
                ('central_union_share', models.FloatField(default=0, null=True)),
                ('central_union_share_payment', models.FloatField(default=0, null=True)),
                ('central_union_share_payment_info', models.JSONField(default=list, null=True)),
                ('fanava_share', models.FloatField(default=0, null=True)),
                ('fanava_share_payment', models.FloatField(default=0, null=True)),
                ('fanava_share_payment_info', models.JSONField(default=list, null=True)),
                ('deposit_allocation_state', models.CharField(default='pending', max_length=20)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='depositallocation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='depositallocation_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('poultry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allocations_poultry', to='panel.poultryrequest')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Deposit',
            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)),
                ('cost', models.IntegerField(null=True)),
                ('description', models.TextField(null=True)),
                ('image', models.CharField(max_length=300, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deposit_createdby', to=settings.AUTH_USER_MODEL)),
                ('itransaction', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deposit_itransaction', to='panel.itransaction')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deposit_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Debt',
            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)),
                ('cost', models.IntegerField(null=True)),
                ('description', models.TextField(null=True)),
                ('image', models.CharField(max_length=300, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='debt_createdby', to=settings.AUTH_USER_MODEL)),
                ('itransaction', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='debtor_itransaction', to='panel.itransaction')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='debt_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Commerce',
            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)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commerce_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='cityoperatorcheckrequest',
            name='poultry_request',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_check', to='panel.poultryrequest'),
        ),
        migrations.AddField(
            model_name='cityoperator',
            name='wallet',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_wallet', to='panel.wallet'),
        ),
        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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('user_bank_id_foreign_key', models.IntegerField(null=True)),
                ('wallet_id_foreign_key', models.IntegerField(null=True)),
                ('city_jahad_id_key', models.IntegerField(null=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=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,
            },
        ),
        migrations.CreateModel(
            name='CityCommerce',
            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)),
                ('wallet_amount', models.BigIntegerField(default=0)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_commerce_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='citycommerce_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='citycommerce_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_commerce_user', to='authentication.systemuserprofile')),
                ('user_bank_info', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_commerce_bank_info', to='authentication.bankcard')),
                ('wallet', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_commerce_wallet', to='panel.wallet')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='CheckUnusualCasualties',
            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)),
                ('state', models.CharField(max_length=50, null=True)),
                ('message', models.TextField(null=True)),
                ('role', models.JSONField(null=True)),
                ('complaint', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='losses', to='panel.killhousecomplaint')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkunusualcasualties_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkunusualcasualties_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='CheckState',
            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)),
                ('state', models.BooleanField(default=False)),
                ('city_state', models.BooleanField(default=False)),
                ('city_state_notification', models.BooleanField(default=False)),
                ('city_state_modal', models.BooleanField(default=False)),
                ('city_state_sms', models.BooleanField(default=False)),
                ('province_state', models.BooleanField(default=False)),
                ('province_state_notification', models.BooleanField(default=False)),
                ('province_state_modal', models.BooleanField(default=False)),
                ('province_state_sms', models.BooleanField(default=False)),
                ('kill_house_state_notification', models.BooleanField(default=False)),
                ('kill_house_state_modal', models.BooleanField(default=False)),
                ('kill_house_state_sms', models.BooleanField(default=False)),
                ('assignment_state_notification', models.BooleanField(default=False)),
                ('assignment_state_modal', models.BooleanField(default=False)),
                ('assignment_state_sms', models.BooleanField(default=False)),
                ('main_check', models.CharField(max_length=50, null=True)),
                ('city_operator_check', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='city_operator_check_state', to='panel.cityoperatorcheckrequest')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkstate_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkstate_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('notification', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='check_notification', to='notification.notification')),
                ('poultry_request', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='poultry_request', to='panel.poultryrequest')),
                ('province_operator_check', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='province_operator_check_state', to='panel.provincecheckoperatorrequest')),
                ('user_message', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='message_check', to='authentication.usermessage')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='CheckKillHouseComplaint',
            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)),
                ('state', models.CharField(max_length=20, null=True)),
                ('message', models.CharField(max_length=20, null=True)),
                ('camplaint', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='check_complaint', to='panel.killhousecomplaint')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkkillhousecomplaint_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='checkkillhousecomplaint_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AutomaticKillRequest',
            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)),
                ('active', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='automatickillrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='automatickillrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AutoMakeKillHouseRequest',
            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)),
                ('allow', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='automakekillhouserequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='automakekillhouserequest_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AutoAcceptProvinceKillRequest',
            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)),
                ('allow', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='autoacceptprovincekillrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='autoacceptprovincekillrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Admin',
            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)),
                ('user_id_foreign_key', models.IntegerField(null=True)),
                ('address_id_foreign_key', models.IntegerField(null=True)),
                ('admin_id_key', models.IntegerField(null=True)),
                ('identity_documents', models.JSONField(null=True)),
                ('active', models.BooleanField(default=True)),
                ('city_number', models.IntegerField(default=0)),
                ('city_name', models.CharField(max_length=100, null=True)),
                ('province_number', models.IntegerField(default=0)),
                ('province_name', models.CharField(max_length=100, null=True)),
                ('address', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_address', to='authentication.systemaddress')),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_profile_admin', to='authentication.systemuserprofile')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
