# Generated by Django 5.1.4 on 2025-01-08 14:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255, verbose_name='Наименование товара')), ('barcode', models.CharField(max_length=50, unique=True, verbose_name='Штрих-код')), ('shelf_life_days', models.PositiveIntegerField(verbose_name='Срок годности (дни)')), ('dimensions', models.CharField(max_length=255, verbose_name='Размеры')), ('unit_of_measure', models.CharField(max_length=50, verbose_name='Единицы измерения')), ('manufacturer', models.CharField(max_length=255, verbose_name='Производитель')), ('category', models.CharField(choices=[('Food', 'Продукты'), ('Electronics', 'Электроника'), ('Clothing', 'Одежда'), ('Other', 'Другое')], max_length=50, verbose_name='Категория')), ('storage_temperature', models.CharField(max_length=50, verbose_name='Температурные условия хранения')), ('promotion', models.CharField(blank=True, choices=[('1+1', '1+1'), ('2+1', '2+1')], max_length=10, null=True, verbose_name='Акция')), ], ), ]