<?php

namespace Database\Seeders;

use App\Models\Admin;
use App\Models\Category;
use Carbon\Carbon;
use Illuminate\Database\Seeder;

class CategorySeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        if (Category::count() == 0) {
            Category::create([
                'name_ar' => 'خدمات ترفيهية',
                'name_en' => 'Entertainment services',
                'image' => 'sheo@3x.png',
                'status'=>1,
                'admin_id'=>1
            ]);
            Category::create([
                'name_ar' => 'خدمات تعليمية',
                'name_en' => 'Educational services',
                'image' => 'dress@3x.png',
                'status'=>1,
                'admin_id'=>1
            ]);
            Category::create([
                'name_ar' => 'دروس تخاطب',
                'name_en' => 'Speech lessons',
                'image' => 'bag@3x.png',
                'status'=>1,
                'admin_id'=>1
            ]);
            Category::create([
                'name_ar' => 'حفلات و مناسبات',
                'name_en' => 'Parties and events',
                'image' => 'watches@3x.png',
                'status'=>1,
                'admin_id'=>1
            ]);

        }
    }
}
