# Generated by Django 3.2.6 on 2021-11-15 07:14

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


class Migration(migrations.Migration):

    dependencies = [
        ('sinergi', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Organisasi',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('esl1', models.CharField(db_column='ESL1', max_length=50)),
                ('esl2', models.CharField(db_column='ESL2', max_length=100)),
                ('esl3', models.CharField(db_column='ESL3', max_length=100)),
                ('is_aktif', models.BooleanField()),
            ],
            options={
                'verbose_name_plural': 'Organisasi',
                'db_table': 'layanan_str_org',
            },
        ),
        migrations.CreateModel(
            name='Stakeholder',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('stakeholders', models.CharField(db_column='stakeholders', max_length=50)),
                ('ttg_dok', models.CharField(db_column='ttg_dok', max_length=100)),
                ('output', models.CharField(db_column='output', max_length=100)),
            ],
            options={
                'verbose_name_plural': 'Stakeholder',
                'db_table': 'layanan_stakeholder',
            },
        ),
        migrations.CreateModel(
            name='Tusi',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('esl4', models.CharField(db_column='ESL4', max_length=100)),
                ('tugas', models.CharField(db_column='tugas', max_length=1000)),
                ('urjab', models.CharField(db_column='urjab', max_length=1000)),
                ('esl3', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sinergi.organisasi')),
            ],
            options={
                'verbose_name_plural': 'Tusi',
                'db_table': 'layanan_str_tusi',
            },
        ),
        migrations.CreateModel(
            name='Dokumen',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('jns_dok', models.CharField(db_column='jns_dok', max_length=100)),
                ('no_dok', models.CharField(db_column='no_dok', max_length=100)),
                ('output', models.CharField(db_column='output', max_length=100)),
                ('tgl_mulai', models.DateField(db_column='tgl_mulai')),
                ('tgl_selesai', models.DateField(db_column='tgl_selesai')),
                ('stakeholders', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sinergi.stakeholder')),
            ],
            options={
                'verbose_name_plural': 'Dokumen',
                'db_table': 'layanan_dok_perjanjian',
            },
        ),
    ]
