<?php

namespace Database\Seeders;

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

class ServiceTypeSeeder extends Seeder
{
    public function run(): void
    {
        $serviceTypes = [
            'Limpeza residencial',
            'Limpeza comercial',
            'Limpeza pós-obra',
            'Passadoria',
            'Lavanderia',
            'Organização de ambientes',
        ];

        foreach ($serviceTypes as $description) {
            ServiceType::updateOrCreate(
                ['description' => $description],
                ['is_active' => true]
            );
        }
    }
}
