# Generated by Django 5.0.3 on 2026-05-05 05:51

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


class Migration(migrations.Migration):

    dependencies = [
        ('bengkel', '0022_blueprintactionplan_actionplanidea'),
    ]

    operations = [
        migrations.CreateModel(
            name='BlueprintIndicator',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('kpi_tajuk', models.CharField(max_length=300, verbose_name='Nama KPI / Indikator')),
                ('sasaran', models.CharField(max_length=200, verbose_name='Sasaran Kejayaan (Target)')),
                ('kekerapan_ukuran', models.CharField(default='Tahunan', help_text='Suku Tahun, Tahunan, dsb.', max_length=100)),
                ('generated_at', models.DateTimeField(auto_now_add=True)),
                ('action_plan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='indicators', to='bengkel.blueprintactionplan')),
                ('bengkel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='blueprint_indicators', to='bengkel.bengkel')),
            ],
            options={
                'verbose_name': 'Blueprint — Indikator KPI',
                'verbose_name_plural': 'Blueprint — Indikator KPI',
                'ordering': ['action_plan__strategi__urutan', 'id'],
            },
        ),
    ]
