# Generated by Django 3.2.16 on 2023-02-22 18:53

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


class Migration(migrations.Migration):

    dependencies = [
        ('line_inspection', '0003_lineinspectionalcmodel_case_stamp_code'),
    ]

    operations = [
        migrations.CreateModel(
            name='LineInspectionDespatchPalletModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('qa_pallet_code', models.CharField(max_length=30)),
                ('product_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)),
                ('line_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='line_pallet', to='line_inspection.lineinspectionmodel')),
            ],
            options={
                'verbose_name_plural': 'LINE INSPECTION DESPATCHED PALLET RECORD',
                'ordering': ('line_id__date', 'line_id__shift', 'line_id__l_id__line', 'qa_pallet_code'),
            },
        ),
    ]
