# Generated by Django 3.0.10 on 2020-11-10 10:19

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('manufacturers', '__latest__'),
        ('categories', '__latest__'),
    ]

    operations = [
        migrations.CreateModel(
            name='Markup',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('value', models.FloatField(verbose_name='Mark-up, %')),
                ('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='markups', to='categories.Category', verbose_name='Category')),
                ('manufacturer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='markups', to='manufacturers.Manufacturer', verbose_name='Manufacturer')),
            ],
            options={
                'verbose_name': 'Product mark-up',
                'verbose_name_plural': 'Products mark-ups',
            },
        ),
    ]
