# Generated by Django 2.2.28 on 2025-07-14 16:10

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


class Migration(migrations.Migration):

    dependencies = [
        ('userauth', '0011_auto_20250714_1607'),
    ]

    operations = [
        migrations.CreateModel(
            name='MessageWhatsappTemplate',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('message_type', models.CharField(choices=[('reservation_created', 'Reservation Created'), ('reservation_rejected_doctor', 'rejected service to Doctor'), ('reservation_rejected_technician', 'rejected service to Technician'), ('reservation_assigned_doctor', 'Assigned service to Doctor'), ('reservation_assigned_technician', 'Assigned service to Technician'), ('reservation_completed_service', 'Completed patient service'), ('reservation_payed_service', 'Payed patient service'), ('reservation_canceled_service', 'Canceled patient service'), ('patient_wallet', 'Change Patient Wallet'), ('doctor_wallet', 'Change Doctor Wallet'), ('technician_wallet', 'Change Technician Wallet'), ('patient_no_complete_service_before_2_day', 'Send message before 2 day for patient service'), ('patient_complete_service_after_1_month', 'Send message after 1 month for completed patient service'), ('patient_birth_date', 'Patient birth date'), ('daily_report', 'Send daily report'), ('monthly_report', 'Send monthly report'), ('patient_without_service_holidays', 'Patient without service in holidays'), ('patient_complete_service_after_6_month', 'Send message after 6 month for completed patient service'), ('patient_without_service', 'Patient without service'), ('patient_with_service', 'Patient with service'), ('patient_with_service_holidays', 'Patient with service in holidays')], max_length=50, verbose_name='Message Type')),
                ('service_name', models.CharField(blank=True, max_length=30, null=True)),
                ('service_id', models.IntegerField(blank=True, null=True)),
                ('content', models.TextField(verbose_name='Message Content')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('modified_at', models.DateTimeField(auto_now=True)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='Modified By')),
            ],
            options={
                'verbose_name': 'Message Template',
                'verbose_name_plural': 'Message Templates',
                'ordering': ['id'],
            },
        ),
    ]
