# Generated by Django 3.2.16 on 2023-02-25 05:13

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


class Migration(migrations.Migration):

    dependencies = [
        ('sachet_inspection', '0002_auto_20230225_0246'),
    ]

    operations = [
        migrations.CreateModel(
            name='SachetInspectionDespatchPalletModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('qa_pallet_code', models.CharField(max_length=30)),
                ('production_batch_code', models.CharField(blank=True, max_length=30, null=True)),
                ('production_pallet_code', models.CharField(blank=True, max_length=30, null=True)),
                ('case_code', models.CharField(max_length=30)),
                ('comment', models.TextField(blank=True, null=True)),
                ('created_by', models.CharField(max_length=24)),
                ('datetime_created', models.DateTimeField(auto_now_add=True)),
                ('machine_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sachet_pallet', to='sachet_inspection.sachetinspectionmodel')),
            ],
            options={
                'verbose_name_plural': 'SACHET INSPECTION DESPATCHED PALLET RECORD',
                'ordering': ('machine_id__date', 'machine_id__shift', 'machine_id__mc_id__machine', 'qa_pallet_code'),
            },
        ),
    ]
