# Generated by Django 5.0 on 2025-12-27 11:23

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


class Migration(migrations.Migration):

    dependencies = [
        ('herd', '0022_rancherorganizationlink'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='HerdRancherTemporary',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_date', models.DateTimeField(auto_now_add=True)),
                ('modify_date', models.DateTimeField(auto_now=True)),
                ('creator_info', models.CharField(max_length=100, null=True)),
                ('modifier_info', models.CharField(max_length=100, null=True)),
                ('trash', models.BooleanField(default=False)),
                ('herd_code', models.CharField(max_length=20, null=True)),
                ('herd_name', models.CharField(max_length=50, null=True)),
                ('epidemiologic', models.CharField(max_length=18, null=True)),
                ('latitude', models.FloatField(default=0)),
                ('longitude', models.FloatField(default=0)),
                ('unit_unique_id', models.CharField(max_length=20, null=True)),
                ('postal_code', models.CharField(max_length=20, null=True)),
                ('rancher_national_code', models.CharField(max_length=40, null=True)),
                ('rancher_name', models.CharField(max_length=40, null=True)),
                ('mobile', models.CharField(max_length=22, null=True)),
                ('agent_code', models.CharField(max_length=22, null=True)),
                ('registerer_user', models.CharField(max_length=50, null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createddby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_modifiedby', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
