# Generated migration for QRConfig model

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='QRConfig',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('qr_image', models.ImageField(help_text='Company QR code image for payment scanning', upload_to='qr_codes/')),
                ('company_name', models.CharField(default='TrueWave', help_text='Company name associated with the QR code', max_length=255)),
                ('is_active', models.BooleanField(default=True, help_text='Whether this QR config is currently active')),
                ('uploaded_at', models.DateTimeField(auto_now_add=True, help_text='Timestamp when the QR code was uploaded')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Timestamp when the QR code was last updated')),
                ('created_by', models.CharField(blank=True, help_text='Admin user who uploaded the QR code', max_length=255, null=True)),
            ],
            options={
                'verbose_name': 'QR Configuration',
                'verbose_name_plural': 'QR Configurations',
                'ordering': ['-uploaded_at'],
            },
        ),
    ]
