# Generated by Django 5.2.7 on 2026-01-30 16:53

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='MockupProject',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255, verbose_name='Título do Projeto')),
                ('main_image', models.ImageField(upload_to='mockups/uploads/', verbose_name='Imagem Principal')),
                ('complementary_image_1', models.ImageField(blank=True, null=True, upload_to='mockups/uploads/')),
                ('complementary_image_2', models.ImageField(blank=True, null=True, upload_to='mockups/uploads/')),
                ('gender', models.CharField(choices=[('M', 'Masculino'), ('F', 'Feminino'), ('N', 'Não-binário')], default='F', max_length=1, verbose_name='Gênero')),
                ('skin_tone', models.CharField(choices=[('light', 'Claro'), ('medium', 'Médio'), ('dark', 'Escuro')], default='medium', max_length=20, verbose_name='Tom de Pele')),
                ('age', models.IntegerField(default=25, verbose_name='Idade')),
                ('body_type', models.CharField(choices=[('plus', 'Plus-size'), ('slim', 'Magro'), ('athletic', 'Atlético'), ('muscular', 'Musculoso')], default='athletic', max_length=20, verbose_name='Tipo de Corpo')),
                ('format', models.CharField(choices=[('9:16', '9:16 (Vertical)'), ('16:9', '16:9 (Horizontal)')], default='9:16', max_length=5, verbose_name='Formato')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('status', models.CharField(default='pending', max_length=20)),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Projeto de Mockup',
                'verbose_name_plural': 'Projetos de Mockup',
            },
        ),
        migrations.CreateModel(
            name='MockupResult',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.ImageField(upload_to='mockups/results/')),
                ('view_type', models.CharField(max_length=10)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='results', to='core.mockupproject')),
            ],
            options={
                'verbose_name': 'Resultado do Mockup',
                'verbose_name_plural': 'Resultados dos Mockups',
            },
        ),
    ]
