# Generated by Django 3.2.13 on 2023-08-10 15:09

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('panel', '0039_auto_20230807_1550'),
    ]

    operations = [
        migrations.AddField(
            model_name='killhousewarehouse',
            name='update_ave_weight_of_carcasses',
            field=models.FloatField(default=0),
        ),
        migrations.AddField(
            model_name='killhousewarehouse',
            name='update_total_number_of_carcasses',
            field=models.BigIntegerField(default=0),
        ),
        migrations.AddField(
            model_name='killhousewarehouse',
            name='update_total_weight_of_carcasses',
            field=models.FloatField(default=0),
        ),
        migrations.AddField(
            model_name='provinceallowpoultrychoosekillhouse',
            name='mandatory',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='provinceallowpoultrychoosekillhousetotal',
            name='mandatory',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='guilds',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_allocation_guilds', to='panel.guilds'),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='logged_registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='sell_type',
            field=models.CharField(max_length=100, null=True),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='seller_type',
            field=models.CharField(max_length=100, null=True),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='state',
            field=models.CharField(default='pending', max_length=50),
        ),
        migrations.AddField(
            model_name='stewardallocation',
            name='system_registration_code',
            field=models.BooleanField(default=False),
        ),
        migrations.AlterField(
            model_name='functionexecutor',
            name='compare_time',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 480558)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='assignment_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 399243)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='city_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 399149)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='kill_house_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 399225)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='province_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 399184)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 402248)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 402083)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 402126)),
        ),
        migrations.AlterField(
            model_name='totalpoultryrequestquantity',
            name='date',
            field=models.DateTimeField(default=datetime.datetime(2023, 8, 10, 15, 9, 33, 413154)),
        ),
        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,
            },
        ),
    ]
