# Generated by Django 5.2.11 on 2026-04-09 07:31

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='ServicePartnerProfile',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('profile_code', models.CharField(blank=True, max_length=20, unique=True)),
                ('service_type', models.CharField(choices=[('driver', 'Driver'), ('housekeeper', 'Housekeeper'), ('helper', 'Helper'), ('translator', 'Translator'), ('assistant', 'Local Assistant')], max_length=30)),
                ('full_name', models.CharField(max_length=200)),
                ('display_name', models.CharField(blank=True, max_length=100)),
                ('gender', models.CharField(blank=True, choices=[('male', 'Male'), ('female', 'Female'), ('other', 'Other')], max_length=20)),
                ('date_of_birth', models.DateField(blank=True, null=True)),
                ('age', models.PositiveIntegerField(blank=True, null=True)),
                ('city', models.CharField(max_length=100)),
                ('district', models.CharField(blank=True, max_length=100)),
                ('country', models.CharField(default='Sri Lanka', max_length=100)),
                ('address', models.TextField(blank=True)),
                ('profile_photo', models.ImageField(blank=True, null=True, upload_to='service_partners/')),
                ('short_intro', models.CharField(max_length=255)),
                ('about_me', models.TextField(blank=True)),
                ('languages_spoken', models.CharField(help_text='Example: English, Sinhala, Tamil, Italian', max_length=255)),
                ('phone_number', models.CharField(blank=True, max_length=50)),
                ('whatsapp_number', models.CharField(blank=True, max_length=50)),
                ('email', models.EmailField(max_length=254)),
                ('experience_summary', models.TextField(blank=True)),
                ('skills', models.TextField(blank=True)),
                ('education', models.CharField(blank=True, max_length=255)),
                ('has_license', models.BooleanField(default=False)),
                ('passport_ready', models.BooleanField(default=False)),
                ('willing_to_relocate', models.BooleanField(default=False)),
                ('live_in_available', models.BooleanField(default=False)),
                ('part_time_available', models.BooleanField(default=False)),
                ('full_time_available', models.BooleanField(default=False)),
                ('is_featured', models.BooleanField(default=False)),
                ('is_public', models.BooleanField(default=False)),
                ('status', models.CharField(choices=[('pending', 'Pending Review'), ('approved', 'Approved'), ('rejected', 'Rejected'), ('inactive', 'Inactive')], default='pending', max_length=20)),
                ('agreed_to_terms', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='service_partner_profile', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Service Partner Profile',
                'verbose_name_plural': 'Service Partner Profiles',
                'ordering': ['-created_at'],
            },
        ),
    ]
