# Generated by Django 4.1.4 on 2025-08-28 08:47

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


class Migration(migrations.Migration):

    dependencies = [
        ('customer_api', '0282_alter_customer_city_alter_customer_country_and_more'),
        ('lawyer_panel', '0011_lawyersubscriptions_total_hiring_requests'),
    ]

    operations = [
        migrations.CreateModel(
            name='LawyerPropertyRequests',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mobile_number', models.CharField(default='', max_length=30)),
                ('name', models.CharField(default='', max_length=50)),
                ('email', models.CharField(default='', max_length=50)),
                ('property_type', models.CharField(default='', max_length=250)),
                ('price', models.CharField(default='', max_length=25000)),
                ('is_viewed', models.BooleanField(default=False)),
                ('is_published', models.BooleanField(default=False)),
                ('is_contacted', models.BooleanField(default=False)),
                ('property_status', models.CharField(default='Pending', max_length=244, null=True)),
                ('start_date', models.DateTimeField(auto_now_add=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('property_name', models.CharField(default='', max_length=250)),
                ('property_id', models.CharField(default='', max_length=250)),
                ('property_image', models.TextField(blank=True, null=True)),
                ('property_video', models.TextField(blank=True, null=True)),
                ('property_doc', models.TextField(blank=True, null=True)),
                ('do_it_by_type', models.CharField(default='', max_length=250)),
                ('finalized_status', models.CharField(max_length=200, null=True)),
                ('buyer_signature', models.TextField(default='')),
                ('buyer_status', models.CharField(default='', max_length=150)),
                ('status', models.CharField(default='', max_length=50)),
                ('rejection_reason', models.CharField(max_length=1000, null=True)),
                ('customer', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='customer_requests_lawyer', to='customer_api.customer')),
                ('lawyer', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='lawyer_request_lawyer', to='customer_api.customer')),
                ('location_agency', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='location_agency_lawyer', to='customer_api.customer')),
            ],
            options={
                'db_table': 'lawyer_property_request',
            },
        ),
    ]
