text: # Generated by Django 2.2 on 2021-02-26 05:38
  
  import django.db.models.deletion
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('advisor', '0001_initial'),
          ('partsnumber', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='PartsArrival',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Created At')),
                  ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Updated At')),
                  ('customer_name', models.CharField(max_length=200, verbose_name='Customer Name')),
                  ('ro_number', models.CharField(max_length=50, verbose_name='RO/RE Number')),
                  ('partnumber', models.CharField(max_length=200, verbose_name='Partsnumber')),
                  ('qty', models.IntegerField(verbose_name='Quantity')),
                  ('remarks', models.CharField(choices=[('COMPLETED', 'COMPLETED'), ('NOT COMPLETED', 'NOT COMPLETED'), ('LACKING', 'LACKING')], max_length=200, verbose_name='Remarks')),
                  ('reason', models.CharField(max_length=200, verbose_name='Reasons')),
                  ('date_arrival', models.CharField(max_length=20, verbose_name='Date Arrival')),
                  ('advisor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='advisor.ServiceAdvisor', verbose_name='Service Advisor')),
                  ('item_class', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='partsnumber.PartNumberClass', verbose_name='Item Class')),
              ],
              options={
                  'verbose_name': 'Parts Arrival',
                  'verbose_name_plural': 'Parts Arrivals',
                  'db_table': 'arrival',
                  'ordering': ['id'],
              },
          ),
      ]
  