<?php

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

class TaskSubtypesSeeder extends Seeder
{
    public function run()
    {
        DB::table('task_subtypes')->insert([
            ['name' => 'Remote Support', 'for' => 'support', 'description' => 'Remote IT support session', 'created_at' => now(), 'updated_at' => now()],
            ['name' => 'Onsite Visit', 'for' => 'onsite', 'description' => 'Technician onsite visit', 'created_at' => now(), 'updated_at' => now()],
            ['name' => 'Hardware Repair', 'for' => 'repairs', 'description' => 'Physical hardware repair', 'created_at' => now(), 'updated_at' => now()],
            ['name' => 'Software Install', 'for' => 'all', 'description' => 'Software installation', 'created_at' => now(), 'updated_at' => now()],
        ]);
        $this->command->info('Seeded task_subtypes table');
    }
} 