<?php

namespace Database\Seeders;

use App\Models\Admin;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class AdminSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        Admin::create([
            'id' => 1,
            'nama_lengkap' => 'Diva Rahma',
            'email' => 'diva.rahma@smk.com',
            'password' => '$2y$12$sHdFisA/bAwyin6SCNOGxObhKVwQN1PT6QirQ58dxk0FXXNHHeJzC',
            'nomor_telepon' => '081234567891',
            'foto_profil' => '1776073308_69dcba5cdd937.jpg',
            'created_at' => '2026-04-13 02:36:27',
            'updated_at' => '2026-04-13 02:41:48',
        ]);

        Admin::create([
            'id' => 2,
            'nama_lengkap' => 'Admin SMK',
            'email' => 'admin@smk.com',
            'password' => '$2y$12$wetWgdu5/vQns278KIx7muk38Dw0nd4Bm0W9WJgV/cXM9Ub7JdPQS',
            'nomor_telepon' => '081234567892',
            'foto_profil' => null,
            'created_at' => '2026-04-13 02:36:27',
            'updated_at' => '2026-04-13 02:36:27',
        ]);
    }
}
