<?php

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

class VehicleSeeder extends Seeder
{
    public function run()
    {
        DB::table('vehicles')->insert([
            [
                'name' => 'Toyota Hiace Super GL',
                'type' => 'Van',
                'capacity' => '12 passengers',
                'price' => 'LKR 12,000/day',
                'image' => 'https://example.com/hiace.jpg',
                'features' => json_encode(['AC', 'Comfortable', 'Guide Friendly', 'Spacious']),
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'name' => 'Suzuki Every',
                'type' => 'Mini Van',
                'capacity' => '7 passengers',
                'price' => 'LKR 8,000/day',
                'image' => 'https://example.com/every.jpg',
                'features' => json_encode(['Compact', 'Fuel Efficient', 'Easy Parking']),
                'created_at' => now(),
                'updated_at' => now(),
            ],
            // add other vehicles...
        ]);
    }
}
