# Generated by Django 5.2.7 on 2025-10-25 21:42

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0002_client'),
    ]

    operations = [
        migrations.CreateModel(
            name='Portfolio',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=100, verbose_name='Nome Portafoglio')),
                ('description', models.TextField(blank=True, null=True, verbose_name='Descrizione')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='core.client', verbose_name='Cliente')),
            ],
            options={
                'verbose_name': 'Portafoglio',
                'verbose_name_plural': 'Portafogli',
            },
        ),
    ]
