# Generated by Django 5.0 on 2025-06-02 12:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('app', '0052_alter_contract_uuid_alter_customer_slug_and_more'),
        ('userapp', '0012_alter_costumuser_customer'),
    ]

    operations = [
        migrations.AddField(
            model_name='prestation',
            name='submittedBy',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='submittedPrestation', to='userapp.costumuser', verbose_name='Soumise par '),
        ),
        migrations.AddField(
            model_name='prestation',
            name='treatedBy',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='treatedPrestation', to='userapp.costumuser', verbose_name='Traité par '),
        ),
        migrations.AlterField(
            model_name='contract',
            name='uuid',
            field=models.CharField(blank=True, default=uuid.UUID('cd78c824-71f2-4570-b25d-c2edcce33983'), max_length=200, null=True, unique=True),
        ),
        migrations.AlterField(
            model_name='customer',
            name='slug',
            field=models.TextField(blank=True, default=uuid.UUID('66d62bbe-8f4f-4d06-9680-cf7de901bd2f'), max_length=200),
        ),
        migrations.AlterField(
            model_name='insurancecompany',
            name='slug',
            field=models.TextField(blank=True, default=uuid.UUID('d036f3de-e5b9-4053-9167-3c1409c0b8b9'), max_length=200, unique=True),
        ),
        migrations.AlterField(
            model_name='prestation',
            name='state',
            field=models.CharField(blank=True, choices=[('INITIAL', 'Initial'), ('SUBMITTED', 'Soumis'), ('PENDING', 'En attente'), ('ACCEPTED', 'Accepté'), ('CANCELED', 'Annulé')], default='INITIAL', max_length=45, verbose_name='État de la prestation'),
        ),
    ]
