# Generated by Django 4.2.11 on 2026-05-21 07:12

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('credit_scoring', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='SectorApplication',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sector', models.CharField(choices=[('MINING', 'Mining'), ('ENGINEERING', 'Engineering'), ('CONSTRUCTION', 'Construction & Maintenance'), ('TRANSPORT', 'Transport & Logistics'), ('MEDICAL', 'Medical Supplies'), ('GOVERNMENT', 'Government Services'), ('RENEWABLE_ENERGY', 'Renewable Energy'), ('LIQUOR', 'Liquor & Beverages'), ('MANUFACTURING', 'Manufacturing'), ('IT', 'IT Services'), ('LEGAL', 'Legal Services'), ('MARITIME', 'Maritime Industry')], max_length=50)),
                ('monthly_turnover', models.DecimalField(decimal_places=2, max_digits=15)),
                ('years_in_operation', models.IntegerField()),
                ('employees_count', models.IntegerField()),
                ('banking_details_verified', models.BooleanField(default=False)),
                ('credit_application', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='sector_details', to='credit_scoring.creditapplication')),
            ],
            options={
                'db_table': 'sector_applications',
            },
        ),
    ]
