# Generated by Django 5.1.7 on 2025-09-20 04:51

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ContactForm',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='Full name of the person', max_length=255)),
                ('email', models.EmailField(help_text='Email address for communication', max_length=254)),
                ('subject', models.CharField(choices=[('admission', 'Admission Inquiry'), ('academics', 'Academic Information'), ('fees', 'Fees & Payments'), ('career', 'Career Opportunities'), ('other', 'Other')], help_text='Subject/category of the inquiry', max_length=20)),
                ('message', models.TextField(help_text='Detailed message or inquiry')),
                ('phone', models.CharField(blank=True, help_text='Phone number (optional)', max_length=20, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('status', models.CharField(choices=[('pending', 'Pending'), ('in_progress', 'In Progress'), ('resolved', 'Resolved'), ('closed', 'Closed')], default='pending', help_text='Current status of the inquiry', max_length=20)),
                ('admin_notes', models.TextField(blank=True, help_text='Internal notes for admin use', null=True)),
                ('responded_at', models.DateTimeField(blank=True, help_text='When this inquiry was responded to', null=True)),
                ('responded_by', models.CharField(blank=True, help_text='Staff member who responded', max_length=255, null=True)),
            ],
            options={
                'verbose_name': 'Contact Form Submission',
                'verbose_name_plural': 'Contact Form Submissions',
                'ordering': ['-created_at'],
            },
        ),
    ]
