# Generated by Django 6.0.1 on 2026-05-27 08:52

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='StudyDestination',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='e.g. USA, UK, Canada', max_length=100, unique=True)),
                ('slug', models.SlugField(blank=True, max_length=120, unique=True)),
                ('banner_image', models.ImageField(upload_to='study/destinations/')),
                ('short_intro', models.TextField(help_text='Why study here? Brief intro.')),
                ('detailed_guide', ckeditor_uploader.fields.RichTextUploadingField(blank=True, help_text='Visa rules, living costs, culture.')),
                ('average_living_cost', models.CharField(blank=True, help_text='e.g. $10,000 - $15,000 / year', max_length=100)),
                ('post_study_work_visa', models.CharField(blank=True, help_text='e.g. Up to 3 years', max_length=100)),
                ('is_active', models.BooleanField(default=True)),
            ],
        ),
        migrations.CreateModel(
            name='StudentCounselingLead',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('student_name', models.CharField(max_length=150)),
                ('email', models.EmailField(max_length=254)),
                ('phone', models.CharField(max_length=20)),
                ('highest_education', models.CharField(help_text='e.g. 12th Pass, B.Tech, B.Com', max_length=100)),
                ('passing_year', models.CharField(max_length=4)),
                ('academic_score', models.CharField(help_text='Percentage or CGPA', max_length=50)),
                ('english_test_score', models.CharField(blank=True, help_text='IELTS: 6.5, PTE: 60, or None', max_length=100)),
                ('preferred_course', models.CharField(blank=True, help_text='e.g. IT, Business, Nursing', max_length=200)),
                ('message', models.TextField(blank=True)),
                ('status', models.CharField(choices=[('new', 'New Inquiry'), ('contacted', 'Contacted'), ('document_collection', 'Document Collection'), ('applied', 'Application Submitted'), ('visa_process', 'Visa Processing'), ('enrolled', 'Successfully Enrolled'), ('dropped', 'Dropped')], default='new', max_length=30)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
                ('preferred_country', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='study.studydestination')),
            ],
        ),
        migrations.CreateModel(
            name='University',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('slug', models.SlugField(blank=True, max_length=255, unique=True)),
                ('city', models.CharField(max_length=100)),
                ('logo', models.ImageField(blank=True, null=True, upload_to='study/uni_logos/')),
                ('campus_image', models.ImageField(upload_to='study/uni_campus/')),
                ('global_ranking', models.CharField(blank=True, help_text='e.g. #45 QS World Ranking', max_length=50)),
                ('institution_type', models.CharField(choices=[('Public', 'Public'), ('Private', 'Private')], default='Public', max_length=50)),
                ('acceptance_rate', models.CharField(blank=True, help_text='e.g. 65%', max_length=50)),
                ('about', ckeditor_uploader.fields.RichTextUploadingField(blank=True)),
                ('is_featured', models.BooleanField(default=False)),
                ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='universities', to='study.studydestination')),
            ],
            options={
                'verbose_name_plural': 'Universities',
            },
        ),
        migrations.CreateModel(
            name='Program',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='e.g. M.Sc. in Computer Science', max_length=255)),
                ('slug', models.SlugField(blank=True, max_length=255, unique=True)),
                ('level', models.CharField(choices=[('UG', 'Undergraduate (Bachelors)'), ('PG', 'Postgraduate (Masters)'), ('PHD', 'Doctorate (PhD)'), ('DIP', 'Diploma / Certificate')], max_length=50)),
                ('duration', models.CharField(help_text='e.g. 2 Years, 18 Months', max_length=100)),
                ('tuition_fee', models.CharField(help_text='e.g. $25,000 / year', max_length=100)),
                ('application_deadline', models.CharField(help_text='e.g. Fall (Sep) / Spring (Jan)', max_length=100)),
                ('ielts_requirement', models.CharField(blank=True, help_text='e.g. Overall 6.5, no band less than 6.0', max_length=100)),
                ('academic_requirement', models.TextField(blank=True, help_text='e.g. Minimum 60% in Bachelors')),
                ('description', ckeditor_uploader.fields.RichTextUploadingField(blank=True)),
                ('is_active', models.BooleanField(default=True)),
                ('university', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='programs', to='study.university')),
            ],
        ),
    ]
