# Generated by Django 2.2.10 on 2021-07-12 16:05

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Company',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('companyname', models.CharField(max_length=30)),
                ('location', models.CharField(max_length=40)),
                ('district', models.CharField(max_length=10)),
                ('website', models.URLField(max_length=20)),
                ('telephone', models.CharField(max_length=15)),
                ('pannumber', models.CharField(max_length=15)),
            ],
        ),
        migrations.CreateModel(
            name='Employee',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('firstname', models.CharField(max_length=30)),
                ('middlename', models.CharField(max_length=30)),
                ('lastname', models.CharField(max_length=30)),
                ('permanent_address', models.CharField(max_length=12)),
                ('temporary_address', models.CharField(max_length=12)),
                ('dateofbirth', models.DateTimeField(null=True)),
                ('joindate', models.DateTimeField(null=True)),
                ('expyear', models.IntegerField(null=True)),
                ('pnumber', models.CharField(max_length=13)),
                ('snumber', models.CharField(max_length=13)),
                ('citizenship', models.CharField(max_length=15)),
                ('fathername', models.CharField(max_length=30)),
                ('grandfathername', models.CharField(max_length=30)),
                ('education', models.CharField(max_length=30)),
                ('assignpost', models.CharField(max_length=30)),
                ('pastcname', models.CharField(max_length=40)),
                ('pannumber', models.CharField(max_length=20)),
                ('height', models.CharField(max_length=5)),
                ('skincolor', models.CharField(max_length=10)),
                ('gender', models.CharField(max_length=10)),
                ('maritual', models.CharField(max_length=10)),
                ('bloodgroup', models.CharField(max_length=5)),
                ('jobarea', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='app.Company')),
            ],
        ),
    ]
