<?php

namespace Database\Seeders;

use App\Models\Page;
use Illuminate\Database\Seeder;

class PageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        Page::firstOrCreate(
            ['slug' => 'terms'],
            [
                'title_ar' => 'شروط الخدمة',
                'title_en' => 'Terms of Service',
                'content_ar' => '',
                'content_en' => '',
            ]
        );

        Page::firstOrCreate(
            ['slug' => 'privacy'],
            [
                'title_ar' => 'سياسة الخصوصية',
                'title_en' => 'Privacy Policy',
                'content_ar' => '',
                'content_en' => '',
            ]
        );
    }
}
