# Generated by Django 4.1 on 2025-01-08 06:42

import datetime
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('retailers', '0027_retailer_is_kyc_retailer_is_kyc_activated'),
    ]

    operations = [
        migrations.CreateModel(
            name='RetailerPANInfo',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('pan_number', models.CharField(max_length=150, unique=True)),
                ('full_name', models.CharField(max_length=20)),
                ('category', models.CharField(max_length=20)),
                ('is_active', models.BooleanField(default=True, editable=False)),
                ('created_on', models.DateField(default=datetime.datetime.now, editable=False)),
                ('retailer', models.ForeignKey(limit_choices_to={'is_active': True}, on_delete=django.db.models.deletion.CASCADE, to='retailers.retailer')),
            ],
            options={
                'verbose_name': 'Retailer',
                'verbose_name_plural': 'Retailers',
            },
        ),
    ]
