# Generated by Django 6.0 on 2025-12-13 15:41

import colorfield.fields
import imagekit.models.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Banner',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('color', colorfield.fields.ColorField(default='#FFFFFF', image_field=None, max_length=25, samples=None, verbose_name='Yazı Rengi')),
                ('title', models.CharField(max_length=254, null=True, verbose_name='Baner Adı')),
                ('text1', models.CharField(max_length=254, null=True, verbose_name='Baner Küçük Yazı 1')),
                ('text2', models.CharField(max_length=254, null=True, verbose_name='Baner Büyük Yazı 1')),
                ('text4', models.CharField(max_length=254, null=True, verbose_name='Baner Küçük Yazı 2')),
                ('text5', models.CharField(max_length=254, null=True, verbose_name='Baner Düğme Yazısı')),
                ('image', imagekit.models.fields.ProcessedImageField(upload_to='uploads/banner/%Y')),
                ('image_k', imagekit.models.fields.ProcessedImageField(blank=True, null=True, upload_to='uploads/banner/kucuk/%Y')),
                ('image_k_txt', models.CharField(max_length=254, null=True, verbose_name='Küçük Resim Yazisi')),
                ('is_active', models.BooleanField(choices=[(True, 'Evet'), (False, 'Hayır')], default=True, verbose_name='Yayındamı ?')),
                ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Oluşturulma Tarihi')),
                ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Güncelleme Tarihi')),
            ],
            options={
                'verbose_name': 'Banner',
                'verbose_name_plural': 'Bannerler',
                'db_table': 'banners',
                'ordering': ['-created_at'],
            },
        ),
        migrations.CreateModel(
            name='Setting',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=254, verbose_name='Ayar Başlığı')),
                ('meta_title', models.CharField(default='Meta Title', max_length=254, verbose_name='Meta Title')),
                ('meta_description', models.CharField(default='Meta Description', max_length=254, verbose_name='Meta Description')),
                ('phone', models.CharField(max_length=254, verbose_name='Telefon')),
                ('url', models.CharField(blank=True, default='https://beyhanogur.com.tr', max_length=254, null=True, verbose_name='Site İnternet Adresi')),
                ('email', models.EmailField(max_length=254, verbose_name='E-Posta')),
                ('facebook', models.CharField(blank=True, default='https://www.facebook.com', max_length=254, null=True, verbose_name='Facebook')),
                ('x', models.CharField(blank=True, default='https://www.twitter.com', max_length=254, null=True, verbose_name='Twitter')),
                ('instagram', models.CharField(blank=True, default='https://www.instagram.com', max_length=254, null=True, verbose_name='Instagram')),
                ('whatsapp', models.CharField(blank=True, default='https://www.whatsapp.com', max_length=254, null=True, verbose_name='Whatsapp')),
                ('slogan', models.CharField(blank=True, default='Dondurma', max_length=254, null=True, verbose_name='Başlık Solaganı')),
                ('w_logo', imagekit.models.fields.ProcessedImageField(blank=True, null=True, upload_to='uploads/logo')),
                ('b_logo', imagekit.models.fields.ProcessedImageField(blank=True, null=True, upload_to='uploads/logo')),
                ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Oluşturulma Tarihi')),
                ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Güncelleme Tarihi')),
                ('is_active', models.BooleanField(choices=[(True, 'Evet'), (False, 'Hayır')], default=False, verbose_name='Yayındamı')),
            ],
            options={
                'verbose_name': 'Site Ayarı',
                'verbose_name_plural': 'Site Ayarları',
                'db_table': 'settings',
                'ordering': ['-created_at'],
            },
        ),
    ]
