# Generated by Django 5.2.2 on 2025-08-03 02:48

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Service',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=200)),
                ('title_ar', models.CharField(max_length=200, null=True)),
                ('title_en', models.CharField(max_length=200, null=True)),
                ('icon_class', models.CharField(help_text='مثال: bi bi-activity', max_length=100)),
                ('icon_class_ar', models.CharField(help_text='مثال: bi bi-activity', max_length=100, null=True)),
                ('icon_class_en', models.CharField(help_text='مثال: bi bi-activity', max_length=100, null=True)),
                ('image', models.ImageField(blank=True, null=True, upload_to='contact_images/')),
                ('image_ar', models.ImageField(blank=True, null=True, upload_to='contact_images/')),
                ('image_en', models.ImageField(blank=True, null=True, upload_to='contact_images/')),
                ('description', models.TextField()),
                ('description_ar', models.TextField(null=True)),
                ('description_en', models.TextField(null=True)),
                ('order', models.PositiveIntegerField(default=0, help_text='ترتيب العرض في الصفحة الرئيسية')),
                ('slug', models.SlugField(unique=True)),
            ],
            options={
                'ordering': ['order'],
            },
        ),
        migrations.CreateModel(
            name='PricingPlan',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=100)),
                ('title_ar', models.CharField(max_length=100, null=True)),
                ('title_en', models.CharField(max_length=100, null=True)),
                ('plan_type', models.CharField(choices=[('basic', 'الأساسية'), ('business', 'الأعمال'), ('enterprise', 'المؤسسات'), ('plus', 'بلَس')], max_length=20)),
                ('price_monthly', models.CharField(max_length=50)),
                ('price_monthly_ar', models.CharField(max_length=50, null=True)),
                ('price_monthly_en', models.CharField(max_length=50, null=True)),
                ('price_yearly', models.CharField(blank=True, max_length=50)),
                ('price_yearly_ar', models.CharField(blank=True, max_length=50, null=True)),
                ('price_yearly_en', models.CharField(blank=True, max_length=50, null=True)),
                ('description', models.TextField()),
                ('description_ar', models.TextField(null=True)),
                ('description_en', models.TextField(null=True)),
                ('features', models.TextField(help_text='أدخل كل ميزة في سطر')),
                ('features_ar', models.TextField(help_text='أدخل كل ميزة في سطر', null=True)),
                ('features_en', models.TextField(help_text='أدخل كل ميزة في سطر', null=True)),
                ('is_popular', models.BooleanField(default=False)),
                ('discount_percentage', models.PositiveIntegerField(blank=True, default=0, help_text='قيمة الخصم بالنسبة المئوية (مثال: 20 تعني خصم 20%)', null=True)),
                ('service', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pricing_plans', to='services.service')),
            ],
        ),
        migrations.CreateModel(
            name='ServiceDetail',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('subtitle', models.CharField(blank=True, max_length=255, null=True)),
                ('subtitle_ar', models.CharField(blank=True, max_length=255, null=True)),
                ('subtitle_en', models.CharField(blank=True, max_length=255, null=True)),
                ('content', models.TextField(blank=True, null=True)),
                ('content_ar', models.TextField(blank=True, null=True)),
                ('content_en', models.TextField(blank=True, null=True)),
                ('features', models.TextField(blank=True, help_text='أدخل كل ميزة في سطر', null=True)),
                ('features_ar', models.TextField(blank=True, help_text='أدخل كل ميزة في سطر', null=True)),
                ('features_en', models.TextField(blank=True, help_text='أدخل كل ميزة في سطر', null=True)),
                ('image_main', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('image_main_ar', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('image_main_en', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('image_secondary', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('image_secondary_ar', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('image_secondary_en', models.ImageField(blank=True, null=True, upload_to='services/')),
                ('experience_label', models.CharField(blank=True, default='سنوات', max_length=100, null=True)),
                ('experience_label_ar', models.CharField(blank=True, default='سنوات', max_length=100, null=True)),
                ('experience_label_en', models.CharField(blank=True, default='سنوات', max_length=100, null=True)),
                ('experience_text', models.CharField(blank=True, default='من الخبرة في المجال', max_length=200, null=True)),
                ('experience_text_ar', models.CharField(blank=True, default='من الخبرة في المجال', max_length=200, null=True)),
                ('experience_text_en', models.CharField(blank=True, default='من الخبرة في المجال', max_length=200, null=True)),
                ('experience_years', models.PositiveIntegerField(blank=True, default=0, null=True)),
                ('cta_title', models.CharField(blank=True, max_length=200, null=True)),
                ('cta_title_ar', models.CharField(blank=True, max_length=200, null=True)),
                ('cta_title_en', models.CharField(blank=True, max_length=200, null=True)),
                ('cta_text', models.TextField(blank=True, null=True)),
                ('cta_text_ar', models.TextField(blank=True, null=True)),
                ('cta_text_en', models.TextField(blank=True, null=True)),
                ('cta_icon_class', models.CharField(blank=True, default='bi bi-rocket-takeoff-fill', max_length=100)),
                ('cta_icon_class_ar', models.CharField(blank=True, default='bi bi-rocket-takeoff-fill', max_length=100, null=True)),
                ('cta_icon_class_en', models.CharField(blank=True, default='bi bi-rocket-takeoff-fill', max_length=100, null=True)),
                ('cta_button_text', models.CharField(blank=True, default='تواصل معنا الآن', max_length=100)),
                ('cta_button_text_ar', models.CharField(blank=True, default='تواصل معنا الآن', max_length=100, null=True)),
                ('cta_button_text_en', models.CharField(blank=True, default='تواصل معنا الآن', max_length=100, null=True)),
                ('cta_button_link', models.URLField(blank=True, default='/contact')),
                ('service', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='services.service')),
            ],
        ),
    ]
