<?php

namespace Database\Seeders;

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

class CarSeeder extends Seeder
{
    public function run()
    {
        DB::table('cars')->insert([
            ['name' => 'Toyota Corolla', 'model' => '2022', 'price' => 25000, 'created_at' => now(), 'updated_at' => now()],
            ['name' => 'Honda Civic', 'model' => '2023', 'price' => 28000, 'created_at' => now(), 'updated_at' => now()],
            ['name' => 'Ford Mustang', 'model' => '2021', 'price' => 45000, 'created_at' => now(), 'updated_at' => now()],
        ]);
    }
}
