# Generated by Django 4.2.28 on 2026-03-14 13:53

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


class Migration(migrations.Migration):
    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ("loans", "0023_merge_20260304_1911"),
    ]

    operations = [
        migrations.AddField(
            model_name="penaltycharge",
            name="penalty_date",
            field=models.DateField(
                blank=True, help_text="Date the penalty applies to", null=True
            ),
        ),
        migrations.AlterField(
            model_name="penaltycharge",
            name="applied_by",
            field=models.ForeignKey(
                blank=True,
                help_text="User who applied manual penalty",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="penalties_applied",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="penaltycharge",
            name="penalty_rate",
            field=models.DecimalField(
                decimal_places=2, help_text="Penalty rate used", max_digits=5
            ),
        ),
    ]
