# Generated by Django 5.2.4 on 2025-08-18 10:42 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('brand', models.CharField(blank=True, max_length=100, null=True)), ('category', models.CharField(max_length=100)), ('original_price', models.DecimalField(decimal_places=2, max_digits=10)), ('condition', models.CharField(choices=[('new', 'New'), ('returned', 'Returned'), ('like_new', 'Like New')], default='like_new', max_length=20)), ('status', models.CharField(choices=[('available', 'Available'), ('in_box', 'In Box'), ('sold', 'Sold')], default='available', max_length=20)), ('seller_name', models.CharField(blank=True, max_length=150, null=True)), ], ), migrations.CreateModel( name='MysteryBox', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('description', models.TextField()), ('price', models.DecimalField(decimal_places=2, max_digits=10)), ('category', models.CharField(default='mixed', max_length=100)), ('stock_quantity', models.PositiveIntegerField(default=0)), ('is_featured', models.BooleanField(default=False)), ('products', models.ManyToManyField(blank=True, to='Boxes.product')), ], ), ]