# Generated by Django 3.2.7 on 2021-10-08 10:08

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('inventarioalmacen', '0008_alter_equipo_options'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='bitreporte',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('n_reporte', models.IntegerField(verbose_name='No. Reporte')),
                ('fecha', models.DateField(auto_now_add=True, verbose_name='Fecha')),
                ('reporte', models.CharField(max_length=250, verbose_name='Reporte')),
                ('quien_reporta', models.CharField(max_length=250, verbose_name='Quien Reporta')),
                ('realizado', models.CharField(max_length=250, unique=True, verbose_name='Realizado')),
                ('pendiente', models.CharField(choices=[('Realizado', 'Realizado'), ('Pendiente', 'Pendiente')], default='Pendiente', max_length=20, verbose_name='Pendiente')),
                ('area', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='inventarioalmacen.area', verbose_name='Area')),
                ('asignado', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Asignado', to=settings.AUTH_USER_MODEL, verbose_name='Asignado A')),
                ('recibido_por', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Recibio', to=settings.AUTH_USER_MODEL, verbose_name='Recibido Por')),
            ],
            options={
                'verbose_name': 'Bitacora Reporte',
                'verbose_name_plural': 'Bitacora Reportes',
                'ordering': ['-id'],
            },
        ),
    ]
