<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class SettingSeeder extends Seeder
{
    public function run(): void
    {
        DB::table('settings')->insert([
            'email' => 'info@clinic.com',
            'address' => json_encode(['ar' => 'القاهرة - مدينة نصر', 'en' => 'Cairo - Nasr City']),
            'phone_1' => '01023456789',
            'phone_2' => '02023456789',
            'whatsapp' => '01023456789',
            'offer_text' => json_encode(['ar' => 'احجز الآن واحصل على خصم 20%', 'en' => 'Book now and get 20% OFF']),
            'location' => 'https://maps.google.com/?q=clinic',
            'commercial_register' => '123456789',
            'tax_register' => '987654321',
            'instagram' => 'https://instagram.com/clinic',
            'x' => 'https://x.com/clinic',
            'facebook' => 'https://facebook.com/clinic',
            'logo' => 'logos/logo.png',
            'image_contact_us' => 'banners/contact-us.jpg',
            'created_at' => now(),
            'updated_at' => now(),
        ]);
    }
}
