# Generated by Django 6.0.5 on 2026-05-16 10:43

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Contact',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nom', models.CharField(max_length=100)),
                ('email', models.EmailField(max_length=254)),
                ('telephone', models.CharField(blank=True, max_length=25)),
                ('organisation', models.CharField(blank=True, max_length=150)),
                ('service', models.CharField(blank=True, choices=[('quantitative', 'Enquête Quantitative'), ('qualitative', 'Enquête Qualitative'), ('sondage', "Sondage d'Opinion"), ('recensement', 'Recensements & Panels'), ('formation', 'Formation'), ('documentaire', 'Recherche Documentaire'), ('agricole', 'Enquête Agricole'), ('evaluation', 'Suivi & Évaluation'), ('transport', 'Ingénierie des Transports'), ('autre', 'Autre')], max_length=50)),
                ('sujet', models.CharField(max_length=200)),
                ('message', models.TextField()),
                ('date_envoi', models.DateTimeField(default=django.utils.timezone.now)),
                ('lu', models.BooleanField(default=False)),
                ('repondu', models.BooleanField(default=False)),
            ],
            options={
                'verbose_name': 'Message de contact',
                'verbose_name_plural': 'Messages de contact',
                'ordering': ['-date_envoi'],
            },
        ),
        migrations.CreateModel(
            name='MembreEquipe',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nom', models.CharField(max_length=100)),
                ('poste', models.CharField(max_length=150)),
                ('profil', models.TextField()),
                ('photo', models.ImageField(blank=True, null=True, upload_to='equipe/')),
                ('experience', models.CharField(blank=True, max_length=50)),
                ('ordre', models.PositiveIntegerField(default=0)),
                ('actif', models.BooleanField(default=True)),
            ],
            options={
                'verbose_name': "Membre de l'équipe",
                'verbose_name_plural': "Membres de l'équipe",
                'ordering': ['ordre'],
            },
        ),
        migrations.CreateModel(
            name='Service',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('titre', models.CharField(max_length=150)),
                ('description', models.TextField()),
                ('icone', models.CharField(default='fas fa-chart-bar', max_length=50)),
                ('ordre', models.PositiveIntegerField(default=0)),
                ('actif', models.BooleanField(default=True)),
            ],
            options={
                'verbose_name': 'Service',
                'ordering': ['ordre'],
            },
        ),
    ]
