# Generated by Django 5.2.11 on 2026-05-09 16:19

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('affiliates_app', '0010_rename_pdf_file_affiliatemarketingresource_full_pdf_file_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='AffiliateTrainingResource',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('language', models.CharField(choices=[('en', 'English'), ('si', 'Sinhala'), ('ta', 'Tamil')], default='en', max_length=2, unique=True)),
                ('title', models.CharField(default='The Ensolanka Global Ambassador Playbook', max_length=200)),
                ('full_playbook_pdf', models.FileField(blank=True, null=True, upload_to='affiliate_training/playbooks/%Y/%m/')),
                ('summary_overview_pdf', models.FileField(blank=True, null=True, upload_to='affiliate_training/summaries/%Y/%m/')),
                ('audio_guide_file', models.FileField(blank=True, null=True, upload_to='affiliate_training/audio/%Y/%m/')),
                ('youtube_video_link', models.URLField(blank=True, null=True)),
                ('description', models.TextField(blank=True)),
                ('is_active', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(default=django.utils.timezone.now)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Affiliate Training Resource',
                'verbose_name_plural': 'Affiliate Training Resources',
                'ordering': ['language'],
            },
        ),
    ]
