# Generated by Django 5.2.11 on 2026-05-17 08:42

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


class Migration(migrations.Migration):

    dependencies = [
        ('property_manager_app', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddField(
            model_name='managedproperty',
            name='review_status',
            field=models.CharField(choices=[('draft', 'Draft'), ('submitted', 'Submitted for Review'), ('approved', 'Approved'), ('rejected', 'Rejected')], default='draft', max_length=20),
        ),
        migrations.AddField(
            model_name='managedproperty',
            name='reviewed_at',
            field=models.DateTimeField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='managedproperty',
            name='reviewed_by',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='reviewed_managed_properties', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='managedproperty',
            name='staff_review_note',
            field=models.TextField(blank=True, help_text='Internal review note or rejection reason recorded by staff.'),
        ),
        migrations.AddField(
            model_name='managedproperty',
            name='submitted_for_review_at',
            field=models.DateTimeField(blank=True, null=True),
        ),
    ]
