# Generated by Django 5.0 on 2025-05-20 11:17

import django.core.validators
import uuid
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('app', '0021_alter_contract_uuid_alter_insurancecompany_slug'),
    ]

    operations = [
        migrations.AddField(
            model_name='contract',
            name='period',
            field=models.IntegerField(blank=True, default=1, null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(10)], verbose_name='Durée (années)'),
        ),
        migrations.AlterField(
            model_name='contract',
            name='startDate',
            field=models.DateField(default=None, verbose_name="Date de d'effet"),
        ),
        migrations.AlterField(
            model_name='contract',
            name='uuid',
            field=models.CharField(blank=True, default=uuid.UUID('a7ff92e5-6212-4e1e-9fca-bd0f8e642d27'), max_length=200, null=True, unique=True),
        ),
        migrations.AlterField(
            model_name='insurancecompany',
            name='slug',
            field=models.TextField(blank=True, default=uuid.UUID('b0433cd2-ca03-4852-bf64-83fe079afa12'), max_length=200, unique=True),
        ),
    ]
