# Generated by Django 3.2.13 on 2025-10-21 16:39

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', '0352_auto_20251012_1708'),
    ]

    operations = [
        migrations.AddField(
            model_name='killhouse',
            name='ware_house_remaining_percent_limitation',
            field=models.FloatField(default=0),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='ware_house_remaining_percent_limitation_status',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='ware_house_remaining_weight_limitation',
            field=models.FloatField(default=0),
        ),
        migrations.AddField(
            model_name='killhouse',
            name='ware_house_remaining_weight_limitation_status',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='active_expire_date_time',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='expire_date_time_registration_code',
            field=models.DateTimeField(null=True),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='logged_registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='register_date_time_registration_code',
            field=models.DateTimeField(null=True),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='killhousefreesalebarinformation',
            name='system_registration_code',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='active_expire_date_time',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='expire_date_time_registration_code',
            field=models.DateTimeField(null=True),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='logged_registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='register_date_time_registration_code',
            field=models.DateTimeField(null=True),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='registration_code',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='stewardfreesalebarinformation',
            name='system_registration_code',
            field=models.BooleanField(default=False),
        ),
        migrations.AlterField(
            model_name='functionexecutor',
            name='compare_time',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 438065)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='assignment_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 354002)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='city_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 354002)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='kill_house_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 354002)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='province_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 354002)),
        ),
        migrations.AlterField(
            model_name='posdevicesession',
            name='session_create_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 567672)),
        ),
        migrations.AlterField(
            model_name='posdevicesession',
            name='session_last_seen_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 567672)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 357991)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 357991)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 357991)),
        ),
        migrations.AlterField(
            model_name='totalpoultryrequestquantity',
            name='date',
            field=models.DateTimeField(default=datetime.datetime(2025, 10, 21, 16, 38, 46, 371955)),
        ),
        migrations.CreateModel(
            name='StewardRequest',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, 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)),
                ('quantity', models.IntegerField(default=0)),
                ('weight', models.IntegerField(default=0)),
                ('state', models.CharField(default='pending', max_length=50)),
                ('registerer', models.CharField(max_length=250, null=True)),
                ('registerer_mobile', models.CharField(max_length=250, null=True)),
                ('registerer_role', models.CharField(max_length=250, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardrequest_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stewardrequest_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('steward', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='steward_request', to='panel.guilds')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='RestrictionCarcassDistribution',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, 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)),
                ('time', models.TimeField(null=True)),
                ('distribution_type', models.CharField(default='KillHouse', max_length=50)),
                ('out', models.BooleanField(default=False)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='restrictioncarcassdistribution_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='restrictioncarcassdistribution_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AllowRegisterCodeForStewardFreeSaleBarInformation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, 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)),
                ('time', models.CharField(max_length=50, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allowregistercodeforstewardfreesalebarinformation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allowregistercodeforstewardfreesalebarinformation_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='AllowRegisterCodeForKillHouseFreeSaleBarInformation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, 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)),
                ('time', models.CharField(max_length=50, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allowregistercodeforkillhousefreesalebarinformation_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='allowregistercodeforkillhousefreesalebarinformation_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
