# Generated by Django 3.2.23 on 2024-08-06 13:02

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


class Migration(migrations.Migration):

    dependencies = [
        ('gest_user', '0022_auto_20240806_1302'),
        ('gest_clin', '0002_auto_20231229_0916'),
        ('parc_info', '0084_alter_pic_pic_adresse_ip'),
    ]

    operations = [
        migrations.CreateModel(
            name='VLAN',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('VLAN_Nom', models.CharField(max_length=64, unique=True, verbose_name='Nom du VLAN')),
                ('VLAN_N_slugify', models.CharField(blank=True, editable=False, max_length=64, verbose_name='Nom du VLAN slugifié')),
                ('VLAN_IN', models.PositiveSmallIntegerField(default=0, verbose_name='Numéro uniq')),
                ('VLAN_Des', models.CharField(max_length=128, verbose_name='Déscription VLAN')),
                ('VLAN_Plag', models.CharField(blank=True, max_length=64, verbose_name='Plage VLAN')),
                ('VLAN_Route', models.CharField(blank=True, max_length=64, verbose_name='Route VLAN')),
                ('VLAN_Site', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='gest_clin.clinique', verbose_name='Clinique')),
            ],
            options={
                'verbose_name': 'VLAN de la Clinique',
                'verbose_name_plural': 'VLANs de la Clinique',
                'ordering': ['VLAN_IN'],
            },
        ),
        migrations.DeleteModel(
            name='Services',
        ),
        migrations.AlterField(
            model_name='pic',
            name='PIC_NUnic',
            field=models.PositiveSmallIntegerField(default=0, verbose_name='ID Sérial'),
        ),
    ]
