# Generated by Django 4.1.4 on 2023-09-18 05:52

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


class Migration(migrations.Migration):

    dependencies = [
        ('customer_api', '0138_rentproperty_city_rentproperty_country_and_more'),
        ('agency_panel', '0006_agencypropertyrequests_agency'),
    ]

    operations = [
        migrations.CreateModel(
            name='AgencyNotifications',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('message', models.TextField(null=True)),
                ('notification_type', models.CharField(max_length=100, null=True)),
                ('is_read', models.BooleanField(default=False, null=True)),
                ('start_date', models.DateTimeField(auto_now_add=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('agency', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='customer_api.customer')),
            ],
            options={
                'db_table': 'agency_notifications',
            },
        ),
    ]
