<?php

namespace Database\Seeders;

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

class CsNameSeeder extends Seeder
{
    public function run(): void
    {
        DB::table('cs_names')->truncate();

        $names = [
            'Andini', 'Bening', 'Debby', 'Devita', 'Elsa',
            'Fifah', 'Gibran', 'Juli', 'Nurdin', 'Putri',
            'Resa', 'Rianah', 'Riyan Hardi', 'Sultan', 'Tami',
            'Wilah', 'Yuni', 'Zena', 'Zura',
        ];

        foreach ($names as $nama) {
            DB::table('cs_names')->insert([
                'nama'       => $nama,
                'aktif'      => true,
                'created_at' => now(),
                'updated_at' => now(),
            ]);
        }
    }
}
