# Generated by Django 5.1.6 on 2025-03-14 07:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('perkuliahan', '0004_rename_nama_mahasiswa_namalengkap_alter_mahasiswa_jk'),
    ]

    operations = [
        migrations.AlterField(
            model_name='jurusan',
            name='jenjang',
            field=models.CharField(blank=True, choices=[('D3', 'DIPLOMA-3'), ('D4', 'DIPLOMA-4'), ('S1', 'STRATA-1'), ('S2', 'STRATA-2'), ('S3', 'STRATA-3')], max_length=150, null=True, verbose_name='Jenjang'),
        ),
        migrations.AlterField(
            model_name='mahasiswa',
            name='email',
            field=models.EmailField(blank=True, help_text='contoh: dodong12345@gmail.com', max_length=254, null=True, verbose_name='Email'),
        ),
        migrations.AlterField(
            model_name='mahasiswa',
            name='jk',
            field=models.CharField(choices=[('L', 'LAKI-LAKI'), ('P', 'PEREMPUAN')], max_length=50, verbose_name='Jenis Kelamin'),
        ),
        migrations.CreateModel(
            name='Dosen',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nidn', models.CharField(max_length=20, verbose_name='Nidn')),
                ('namadosen', models.CharField(max_length=100, verbose_name='Nama Lengkap')),
                ('gelar', models.CharField(help_text='contoh : S.KOM.,M.Kom', max_length=30, verbose_name='Gelar')),
                ('tgllahir', models.DateField(blank=True, null=True, verbose_name='Tanggal Lahir')),
                ('templahir', models.CharField(blank=True, max_length=100, null=True, verbose_name='Tempat Lahir')),
                ('foto', models.ImageField(upload_to='foto_mhs', verbose_name='Foto')),
                ('cv', models.FileField(upload_to='cv_dosen', verbose_name='cv')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('update_at', models.DateTimeField(auto_now=True)),
                ('jurusan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='perkuliahan.jurusan', verbose_name='Program Studi')),
            ],
        ),
    ]
