# Generated by Django 5.0 on 2025-01-04 15:30

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0003_vmasterview'),
    ]

    operations = [
        migrations.CreateModel(
            name='AllProductAverageObMinMaxView',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ProductCode', models.CharField(max_length=255, null=True)),
                ('out_min', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('out_max', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('in_min', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('in_max', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
            ],
            options={
                'db_table': 'AllProduct_Average_OB_MIN_MAX_view',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='AllProductDimensionForInsProcess',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ProdType', models.CharField(max_length=255, null=True)),
                ('ProductCode', models.CharField(max_length=255, null=True)),
                ('Size_Id', models.CharField(max_length=255, null=True)),
                ('Size_Name', models.CharField(max_length=255, null=True)),
                ('Std', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('TolUn', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('TolUp', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
            ],
            options={
                'db_table': 'AllProduct_Dimension_ForInsProcess',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='AllProductPressPositionPressWeight',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ProductCode', models.CharField(max_length=255, null=True)),
                ('Lot_No', models.CharField(max_length=255, null=True)),
                ('PO_Qty', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('UWeight', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Current_ProNo', models.CharField(max_length=255, null=True)),
                ('Press_Time', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('PressType_1', models.CharField(max_length=255, null=True)),
                ('PressWeight_1', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('PressType_2', models.CharField(max_length=255, null=True)),
                ('PressWeight_2', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Press_Ton', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Press_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Press_T_Tol', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Mold_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Mold_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('SegMold_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('SegMold_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Center_D', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('Center_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('LowerPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('StudPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('UpperPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('PinPlate_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('TopConcave_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('BottomConcave_T', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
            ],
            options={
                'db_table': 'AllProduct_PressPosition_PressWeight',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='BelMasterView',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('PRO0', models.CharField(max_length=255, null=True)),
                ('PRO1', models.CharField(max_length=255, null=True)),
                ('PRO1C', models.CharField(max_length=255, null=True)),
                ('PRO2', models.CharField(max_length=255, null=True)),
                ('PRO5', models.CharField(max_length=255, null=True)),
                ('PRO8', models.CharField(max_length=255, null=True)),
                ('PRO9', models.CharField(max_length=255, null=True)),
                ('PRO10', models.CharField(max_length=255, null=True)),
                ('PRO11', models.CharField(max_length=255, null=True)),
                ('PRO12', models.CharField(max_length=255, null=True)),
                ('PRO13', models.CharField(max_length=255, null=True)),
                ('PRO14', models.CharField(max_length=255, null=True)),
                ('PRO15', models.CharField(max_length=255, null=True)),
                ('PRO16', models.CharField(max_length=255, null=True)),
                ('PRO17', models.CharField(max_length=255, null=True)),
                ('PRO18', models.CharField(max_length=255, null=True)),
                ('PRO21', models.CharField(max_length=255, null=True)),
                ('PRO25', models.CharField(max_length=255, null=True)),
                ('PRO27', models.CharField(max_length=255, null=True)),
                ('P2', models.CharField(max_length=255, null=True)),
                ('PRO6', models.CharField(max_length=255, null=True)),
                ('SPEED', models.CharField(max_length=255, null=True)),
                ('PRO_TOOL', models.CharField(max_length=255, null=True)),
                ('PRO4', models.CharField(max_length=255, null=True)),
                ('MC11', models.CharField(max_length=255, null=True)),
                ('MC12', models.CharField(max_length=255, null=True)),
                ('MC14', models.CharField(max_length=255, null=True)),
                ('MC15', models.CharField(max_length=255, null=True)),
                ('MC16', models.CharField(max_length=255, null=True)),
                ('MC19', models.CharField(max_length=255, null=True)),
                ('MC20', models.CharField(max_length=255, null=True)),
                ('MC21', models.CharField(max_length=255, null=True)),
                ('MC22', models.CharField(max_length=255, null=True)),
                ('MC23', models.CharField(max_length=255, null=True)),
                ('MC24', models.CharField(max_length=255, null=True)),
                ('MP45', models.CharField(max_length=255, null=True)),
                ('MP49', models.CharField(max_length=255, null=True)),
                ('MI13', models.CharField(max_length=255, null=True)),
                ('TC', models.CharField(max_length=255, null=True)),
                ('MI14', models.CharField(max_length=255, null=True)),
                ('MI15', models.CharField(max_length=255, null=True)),
                ('MI16', models.CharField(max_length=255, null=True)),
                ('MI17', models.CharField(max_length=255, null=True)),
                ('MI18', models.CharField(max_length=255, null=True)),
                ('MI19', models.CharField(max_length=255, null=True)),
                ('MI20', models.CharField(max_length=255, null=True)),
                ('MI21', models.CharField(max_length=255, null=True)),
                ('MI22', models.CharField(max_length=255, null=True)),
                ('MI23', models.CharField(max_length=255, null=True)),
                ('MI31', models.CharField(max_length=255, null=True)),
                ('MI33', models.CharField(max_length=255, null=True)),
                ('INSAGM', models.CharField(max_length=255, null=True)),
                ('MARAGM', models.CharField(max_length=255, null=True)),
                ('MI53', models.CharField(max_length=255, null=True)),
                ('MI55', models.CharField(max_length=255, null=True)),
                ('MI36', models.CharField(max_length=255, null=True)),
                ('MI39', models.CharField(max_length=255, null=True)),
                ('MI24', models.CharField(max_length=255, null=True)),
                ('Ind1', models.CharField(max_length=255, null=True)),
                ('Ind2', models.CharField(max_length=255, null=True)),
                ('Ind3', models.CharField(max_length=255, null=True)),
                ('AGR1', models.CharField(max_length=255, null=True)),
                ('AGR2', models.CharField(max_length=255, null=True)),
                ('ob_Condition', models.CharField(max_length=255, null=True)),
            ],
            options={
                'db_table': 'bel_master_view',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='EMasterView',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('PRO0', models.CharField(max_length=255, null=True)),
                ('PRO1', models.CharField(max_length=255, null=True)),
                ('PRO1C', models.CharField(max_length=255, null=True)),
                ('PRO2', models.CharField(max_length=255, null=True)),
                ('PRO5', models.CharField(max_length=255, null=True)),
                ('PRO8', models.CharField(max_length=255, null=True)),
                ('PRO9', models.CharField(max_length=255, null=True)),
                ('PRO10', models.CharField(max_length=255, null=True)),
                ('PRO11', models.CharField(max_length=255, null=True)),
                ('PRO12', models.CharField(max_length=255, null=True)),
                ('PRO13', models.CharField(max_length=255, null=True)),
                ('PRO14', models.CharField(max_length=255, null=True)),
                ('PRO15', models.CharField(max_length=255, null=True)),
                ('PRO16', models.CharField(max_length=255, null=True)),
                ('PRO17', models.CharField(max_length=255, null=True)),
                ('PRO18', models.CharField(max_length=255, null=True)),
                ('PRO21', models.CharField(max_length=255, null=True)),
                ('PRO25', models.CharField(max_length=255, null=True)),
                ('PRO27', models.CharField(max_length=255, null=True)),
                ('P2', models.CharField(max_length=255, null=True)),
                ('PRO6', models.CharField(max_length=255, null=True)),
                ('SPEED', models.CharField(max_length=255, null=True)),
                ('PRO_TOOL', models.CharField(max_length=255, null=True)),
                ('PRO4', models.CharField(max_length=255, null=True)),
                ('MC11', models.CharField(max_length=255, null=True)),
                ('MC12', models.CharField(max_length=255, null=True)),
                ('MC14', models.CharField(max_length=255, null=True)),
                ('MC15', models.CharField(max_length=255, null=True)),
                ('MC16', models.CharField(max_length=255, null=True)),
                ('MC19', models.CharField(max_length=255, null=True)),
                ('MC20', models.CharField(max_length=255, null=True)),
                ('MC21', models.CharField(max_length=255, null=True)),
                ('MC22', models.CharField(max_length=255, null=True)),
                ('MC23', models.CharField(max_length=255, null=True)),
                ('MC24', models.CharField(max_length=255, null=True)),
                ('MP45', models.CharField(max_length=255, null=True)),
                ('MP49', models.CharField(max_length=255, null=True)),
                ('MI13', models.CharField(max_length=255, null=True)),
                ('TC', models.CharField(max_length=255, null=True)),
                ('MI14', models.CharField(max_length=255, null=True)),
                ('MI15', models.CharField(max_length=255, null=True)),
                ('MI16', models.CharField(max_length=255, null=True)),
                ('MI17', models.CharField(max_length=255, null=True)),
                ('MI18', models.CharField(max_length=255, null=True)),
                ('MI19', models.CharField(max_length=255, null=True)),
                ('MI20', models.CharField(max_length=255, null=True)),
                ('MI21', models.CharField(max_length=255, null=True)),
                ('MI22', models.CharField(max_length=255, null=True)),
                ('MI23', models.CharField(max_length=255, null=True)),
                ('MI31', models.CharField(max_length=255, null=True)),
                ('MI33', models.CharField(max_length=255, null=True)),
                ('INSAGM', models.CharField(max_length=255, null=True)),
                ('MARAGM', models.CharField(max_length=255, null=True)),
                ('MI53', models.CharField(max_length=255, null=True)),
                ('MI55', models.CharField(max_length=255, null=True)),
                ('MI36', models.CharField(max_length=255, null=True)),
                ('MI39', models.CharField(max_length=255, null=True)),
                ('MI24', models.CharField(max_length=255, null=True)),
                ('Ind1', models.CharField(max_length=255, null=True)),
                ('Ind2', models.CharField(max_length=255, null=True)),
                ('Ind3', models.CharField(max_length=255, null=True)),
                ('AGR1', models.CharField(max_length=255, null=True)),
                ('AGR2', models.CharField(max_length=255, null=True)),
                ('ob_Condition', models.CharField(max_length=255, null=True)),
            ],
            options={
                'db_table': 'e_master_view',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='VwRotateLog',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('PROD_CODE', models.CharField(max_length=255, null=True)),
                ('LOT_NO', models.CharField(max_length=255, null=True)),
                ('SPEED_SPEC', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('SPEED_TEST', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('SPEED_NG', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('CREATED_DT', models.DateTimeField(null=True)),
                ('LAST_UPD_DT', models.DateTimeField(null=True)),
                ('QTY', models.IntegerField(null=True)),
                ('STATION_NO', models.CharField(max_length=255, null=True)),
            ],
            options={
                'db_table': 'VwRotateLog_Mockup_Data',
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='VwRotateResult',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('PROD_CODE', models.CharField(max_length=255, null=True)),
                ('LOT_NO', models.CharField(max_length=255, null=True)),
                ('SPEED_SPEC', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('QTY', models.IntegerField(null=True)),
                ('STATION_NO', models.CharField(max_length=255, null=True)),
                ('START_DT', models.DateTimeField(null=True)),
                ('TEST_NO', models.CharField(max_length=255, null=True)),
                ('SPEED_TEST_VAL', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('SPEED_NG_VAL', models.DecimalField(decimal_places=2, max_digits=10, null=True)),
                ('TEST_END_DT', models.DateTimeField(null=True)),
            ],
            options={
                'db_table': 'VW_ROTATE_RESULT',
                'managed': False,
            },
        ),
        migrations.AlterModelOptions(
            name='mgmasterview',
            options={'managed': False},
        ),
        migrations.AlterModelOptions(
            name='vmasterview',
            options={'managed': False},
        ),
        migrations.AddField(
            model_name='report',
            name='file',
            field=models.FileField(blank=True, null=True, upload_to='reports/files/'),
        ),
    ]
