<?php

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Hash;
use App\Models\User;
use App\Models\UserInstansi;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {

        User::updateOrCreate([
            'name'          => 'Administrator',
            'username'      => 'administrator',
            'email'         => 'adminadiwiyata@dlh.go.id',
        ],[
            'name'          => 'Administrator',
            'username'      => 'administrator',
            'email'         => 'adminSLHD@dlh.go.id',
            'ms_group_id'   => '1',
            'password'      => Hash::make('##SLHD2025'),
        ]);
        
    }
}
