# Generated by Django 3.2.13 on 2025-11-15 13:54

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', '0673_auto_20251111_1150'),
    ]

    operations = [
        migrations.AlterField(
            model_name='functionexecutor',
            name='compare_time',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 637332)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='assignment_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 579858)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='city_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 579858)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='kill_house_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 579858)),
        ),
        migrations.AlterField(
            model_name='operatorlasttimeenter',
            name='province_operator_last_time_check',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 579858)),
        ),
        migrations.AlterField(
            model_name='posdevicesession',
            name='session_create_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 705343)),
        ),
        migrations.AlterField(
            model_name='posdevicesession',
            name='session_last_seen_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 705343)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 581869)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 581869)),
        ),
        migrations.AlterField(
            model_name='poultry',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 581869)),
        ),
        migrations.AlterField(
            model_name='totalpoultryrequestquantity',
            name='date',
            field=models.DateTimeField(default=datetime.datetime(2025, 11, 15, 13, 54, 36, 589635)),
        ),
        migrations.CreateModel(
            name='GuildLegalPersonDetail',
            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)),
                ('status', models.BooleanField(default=False)),
                ('status_code', models.IntegerField(default=0)),
                ('api_log_id', models.CharField(blank=True, max_length=100, null=True)),
                ('legal_person_info_dto_id', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_legal_person_id', models.CharField(blank=True, max_length=100, null=True)),
                ('successful', models.BooleanField(default=False)),
                ('message', models.TextField(blank=True, null=True)),
                ('name', models.CharField(blank=True, max_length=300, null=True)),
                ('national_code', models.CharField(blank=True, max_length=20, null=True)),
                ('post_code', models.CharField(blank=True, max_length=20, null=True)),
                ('address', models.TextField(blank=True, null=True)),
                ('legal_person_type', models.CharField(blank=True, max_length=100, null=True)),
                ('register_number', models.CharField(blank=True, max_length=100, null=True)),
                ('register_unit', models.CharField(blank=True, max_length=100, null=True)),
                ('register_date', models.CharField(blank=True, max_length=100, null=True)),
                ('register_date_unix', models.BigIntegerField(default=0)),
                ('residency', models.CharField(blank=True, max_length=100, null=True)),
                ('state', models.CharField(blank=True, max_length=100, null=True)),
                ('is_settle', models.BooleanField(default=False)),
                ('settle_date', models.CharField(blank=True, max_length=100, null=True)),
                ('is_break_up', models.BooleanField(default=False)),
                ('break_up_date', models.CharField(blank=True, max_length=100, null=True)),
                ('is_branch', models.BooleanField(default=False)),
                ('branch_list', models.JSONField(blank=True, null=True)),
                ('parent_legal_person_raw', models.JSONField(blank=True, null=True)),
                ('establishment_date', models.CharField(blank=True, max_length=100, null=True)),
                ('is_db_result', models.BooleanField(default=False)),
                ('service_type', models.IntegerField(default=0)),
                ('parent_name', models.CharField(blank=True, max_length=300, null=True)),
                ('parent_national_code', models.CharField(blank=True, max_length=20, null=True)),
                ('parent_post_code', models.CharField(blank=True, max_length=20, null=True)),
                ('parent_address', models.TextField(blank=True, null=True)),
                ('parent_legal_person_type', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_register_number', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_register_unit', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_register_date', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_register_date_unix', models.BigIntegerField(default=0)),
                ('parent_residency', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_state', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_is_settle', models.BooleanField(default=False)),
                ('parent_settle_date', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_is_break_up', models.BooleanField(default=False)),
                ('parent_break_up_date', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_is_branch', models.BooleanField(default=False)),
                ('parent_branch_list', models.JSONField(blank=True, null=True)),
                ('parent_establishment_date', models.CharField(blank=True, max_length=100, null=True)),
                ('parent_is_db_result', models.BooleanField(default=False)),
                ('parent_service_type', models.IntegerField(default=0)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guildlegalpersondetail_createdby', to=settings.AUTH_USER_MODEL)),
                ('guild', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='legal_person_details', to='panel.guilds')),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='guildlegalpersondetail_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
