<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\DeliveryInfo;

class DeliveryInfoSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // Create global delivery info
        DeliveryInfo::create([
            'product_id' => null,
            'title' => 'Delivery Info',
            'icon' => '🚚',
            'items' => [
                'Same day delivery in Dhaka (order before 2 PM)',
                'Next day delivery outside Dhaka',
                'Free delivery over ৳500',
                'Cash on delivery available',
            ],
            'is_active' => true,
            'is_global' => true,
            'order' => 1,
        ]);
    }
}
