# Generated by Django 6.0.4 on 2026-05-09 11:41

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Candidature',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nom', models.CharField(max_length=100)),
                ('prenoms', models.CharField(max_length=200)),
                ('sexe', models.CharField(choices=[('M', 'Masculin'), ('F', 'Féminin')], max_length=1)),
                ('date_naissance', models.DateField()),
                ('lieu_naissance', models.CharField(max_length=100)),
                ('nationalite', models.CharField(max_length=100)),
                ('photo_identite', models.FileField(upload_to='candidatures/photos/')),
                ('telephone', models.CharField(max_length=20)),
                ('whatsapp', models.CharField(blank=True, max_length=20, null=True)),
                ('email', models.EmailField(max_length=254)),
                ('adresse_complete', models.TextField()),
                ('ville_pays', models.CharField(max_length=200)),
                ('dernier_diplome', models.CharField(max_length=100)),
                ('serie_bac', models.CharField(max_length=50)),
                ('annee_obtention', models.IntegerField()),
                ('etablissement_frequente', models.CharField(max_length=200)),
                ('moyenne_obtenue', models.DecimalField(decimal_places=2, max_digits=4)),
                ('niveau_actuel_etude', models.CharField(max_length=100)),
                ('type_formation', models.CharField(choices=[('BTS', 'BTS'), ('LICENCE', 'Licence'), ('MASTER', 'Master'), ('PREPA', 'Classe préparatoire')], max_length=20)),
                ('filiere_choisie', models.CharField(max_length=100)),
                ('deuxieme_choix_filiere', models.CharField(blank=True, max_length=100, null=True)),
                ('mode_etude', models.CharField(choices=[('JOUR', 'Jour'), ('SOIR', 'Soirée'), ('WEEKEND', 'Week-end')], max_length=20)),
                ('bac_releve', models.FileField(upload_to='candidatures/documents/')),
                ('acte_naissance', models.FileField(upload_to='candidatures/documents/')),
                ('certificat_nationalite', models.FileField(blank=True, null=True, upload_to='candidatures/documents/')),
                ('cv', models.FileField(blank=True, null=True, upload_to='candidatures/documents/')),
                ('lettre_motivation', models.FileField(upload_to='candidatures/documents/')),
                ('parent_nom', models.CharField(max_length=100)),
                ('parent_profession', models.CharField(max_length=100)),
                ('parent_telephone', models.CharField(max_length=20)),
                ('parent_relation', models.CharField(max_length=100)),
                ('motivation', models.TextField()),
                ('experience_professionnelle', models.TextField(blank=True, null=True)),
                ('projet_professionnel', models.TextField()),
                ('certifie_exactitude', models.BooleanField(default=False)),
                ('date_soumission', models.DateTimeField(auto_now_add=True)),
            ],
        ),
    ]
