# Generated by Django 5.2.7 on 2025-11-03 14:36

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Achievement',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200)),
                ('student_name', models.CharField(max_length=100)),
                ('event_name', models.CharField(max_length=200)),
                ('achievement_level', models.CharField(max_length=100)),
                ('date', models.DateField()),
            ],
        ),
        migrations.CreateModel(
            name='Proposal',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200)),
                ('proposer_name', models.CharField(help_text='Nama perorangan, kelompok, atau lembaga', max_length=100)),
                ('description', models.TextField()),
                ('proposal_type', models.CharField(choices=[('lomba', 'Lomba'), ('non_lomba', 'Non-Lomba')], default='lomba', max_length=20)),
                ('status', models.CharField(choices=[('pending', 'Pending'), ('approved_dosen', 'Approved by Dosen'), ('approved_fakultas', 'Approved by Fakultas'), ('approved_universitas', 'Approved by Universitas'), ('rejected', 'Rejected'), ('completed', 'Completed')], default='pending', max_length=20)),
                ('submitted_at', models.DateTimeField(default=django.utils.timezone.now)),
                ('attachment', models.FileField(blank=True, help_text='Dokumen proposal (PDF, DOCX)', null=True, upload_to='proposals/')),
            ],
        ),
    ]
