# Generated by Django 4.2.20 on 2025-05-13 06:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('authentication', '0009_organization_type'),
    ]

    operations = [
        migrations.AddField(
            model_name='organization',
            name='company_code',
            field=models.CharField(default='empty', max_length=30),
        ),
        migrations.AddField(
            model_name='organization',
            name='field_of_activity',
            field=models.CharField(choices=[('CO', 'Country'), ('PR', 'Province'), ('CI', 'City')], default='EM', max_length=2),
        ),
        migrations.AddField(
            model_name='user',
            name='is_herd_owner',
            field=models.BooleanField(default=False),
        ),
        migrations.CreateModel(
            name='BankAccountInformation',
            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)),
                ('trash', models.BooleanField(default=False)),
                ('name', models.CharField(max_length=150)),
                ('card', models.CharField(max_length=25, unique=True)),
                ('account', models.CharField(max_length=25, unique=True)),
                ('sheba', models.CharField(max_length=30, unique=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)s_createdby', 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)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bank_information', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
