# Generated by Django 3.2.12 on 2023-03-31 11:36

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


class Migration(migrations.Migration):

    dependencies = [
        ('BasicData', '0007_auto_20230217_2210'),
    ]

    operations = [
        migrations.CreateModel(
            name='Presence',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateField(null=True, verbose_name='Date')),
                ('debut', models.TimeField(null=True, verbose_name='Heure de Début')),
                ('fin', models.TimeField(null=True, verbose_name='Heure de Fin')),
                ('nombre_heure', models.IntegerField(default=0, verbose_name="Nombre d'heure")),
                ('created', models.DateField(auto_now_add=True, null=True)),
                ('update', models.DateField(auto_now=True, null=True)),
                ('annee', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='BasicData.annee')),
                ('ecue', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='BasicData.ecue')),
                ('etudiant', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='BasicData.etudiant')),
            ],
        ),
    ]
