# Generated by Django 4.1 on 2025-01-08 07:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('retailers', '0029_retailer_is_aadhar_retailer_is_pan'),
    ]

    operations = [
        migrations.AlterField(
            model_name='transaction',
            name='source',
            field=models.IntegerField(choices=[(1, 'Wallet'), (2, 'Recharge'), (3, 'Kyc')], default=1),
        ),
        migrations.CreateModel(
            name='RetailerAadhaarData',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('full_name', models.CharField(blank=True, max_length=255, null=True)),
                ('aadhaar_number', models.CharField(blank=True, max_length=12, null=True, unique=True)),
                ('dob', models.DateField(blank=True, null=True)),
                ('gender', models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('O', 'Other')], max_length=1, null=True)),
                ('country', models.CharField(blank=True, default='India', max_length=100, null=True)),
                ('state', models.CharField(blank=True, max_length=100, null=True)),
                ('dist', models.CharField(blank=True, max_length=100, null=True)),
                ('subdist', models.CharField(blank=True, max_length=100, null=True)),
                ('po', models.CharField(blank=True, max_length=100, null=True)),
                ('loc', models.CharField(blank=True, max_length=255, null=True)),
                ('vtc', models.CharField(blank=True, max_length=100, null=True)),
                ('street', models.CharField(blank=True, max_length=255, null=True)),
                ('house', models.CharField(blank=True, max_length=255, null=True)),
                ('landmark', models.CharField(blank=True, max_length=255, null=True)),
                ('zip', models.CharField(blank=True, max_length=6, null=True)),
                ('profile_image', models.URLField(blank=True, null=True)),
                ('care_of', models.CharField(blank=True, max_length=255, null=True)),
                ('share_code', models.CharField(blank=True, max_length=10, null=True)),
                ('status', models.CharField(blank=True, max_length=50, null=True)),
                ('retailer', models.ForeignKey(limit_choices_to={'is_active': True}, on_delete=django.db.models.deletion.CASCADE, to='retailers.retailer')),
            ],
            options={
                'verbose_name': 'Aadhaar Data',
                'verbose_name_plural': 'Aadhaar Data',
            },
        ),
    ]
