<?php

namespace Database\Seeders;

use App\Models\Member;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class MemberSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $userData = [
            [
                'kd_member' => '0',
                'nm_member' => 'Pelanggan',
                'hp_member' => '-',
                'email_member' => '-',
                'username' => 'pelanggan',
                'password' => '-',
            ]
        ];

        foreach ($userData as $key => $value) {
            Member::create($value);
        }
    }
}
