<?php

namespace Database\Seeders;

use App\Models\User;
use App\Models\Teacher;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class TeacherSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // Cari user guru berdasarkan email

        Teacher::create([
            'name' => 'Zainal Abidin',
            'nip' => '198001012005011001',
            'subject' => 'SENBUD, SEJ',
            'id_user' => 2,
        ]);
    }
}
