# Generated by Django 5.2.4 on 2025-10-26 05:56

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('users', '0006_subscriptionplan_subscription_payment'),
    ]

    operations = [
        migrations.CreateModel(
            name='DashboardCard',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(help_text='Card title', max_length=200)),
                ('description', models.TextField(blank=True, help_text='Optional description')),
                ('image', models.ImageField(blank=True, help_text='Card image', null=True, upload_to='dashboard_cards/')),
                ('image_url', models.URLField(blank=True, help_text='Or use image URL (if image file not uploaded)')),
                ('link', models.URLField(blank=True, help_text='External link when card is clicked')),
                ('order', models.IntegerField(default=0, help_text='Display order (lower numbers first)')),
                ('is_active', models.BooleanField(default=True, help_text='Show/hide this card')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Dashboard Card',
                'verbose_name_plural': 'Dashboard Cards',
                'ordering': ['order', '-created_at'],
            },
        ),
    ]
