<?php

namespace Database\Seeders;

use App\Models\Category;
use App\Models\Service;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class ServicesSeed extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        if (Service::count() == 0) {
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'blog',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'blog',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'blog',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'blog',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'blog',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'video',
                'video' => 'video.mp4',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'video',
                'video' => 'video.mp4',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'video',
                'video' => 'video.mp4',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
            Service::create([
                'name_ar' => 'تنمية مهارات لغوية',
                'name_en' => 'Develop language skills',
                'short_description_ar' => 'افضل الطرق لتنمية مهارات الاطفال اللغوية',
                'short_description_en' => 'The best ways to develop childrens language skills',
                'type'=>'video',
                'video' => 'video.mp4',
                'status'=>1,
                'category_id'=>1,
                'admin_id'=>1,
            ]);
        }

    }
}
