# Generated by Django 5.0.6 on 2024-06-26 03:30

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


class Migration(migrations.Migration):

    dependencies = [
        ('stocks', '0016_remove_customer_m_facebook_remove_customer_m_telgram_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='Fournisseur',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('m_code', models.CharField(blank=True, max_length=128, null=True)),
                ('m_name', models.CharField(blank=True, max_length=128, null=True)),
                ('m_localisation', models.TextField(blank=True, null=True)),
                ('m_tel', models.TextField(blank=True, null=True)),
                ('m_gmail', models.TextField(blank=True, null=True)),
            ],
            options={
                'verbose_name': 'Fournisseur',
                'verbose_name_plural': 'Fournisseurs',
            },
        ),
        migrations.CreateModel(
            name='ProductsFournisseur',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('m_prix', models.IntegerField(blank=True, null=True)),
                ('m_qte', models.IntegerField(blank=True, null=True)),
                ('m_fournisseur', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='stocks.fournisseur')),
                ('m_product', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='stocks.product')),
            ],
        ),
    ]
