<?php

namespace Database\Seeders;

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

class BuildingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        // Insert predefined user levels with the 'status' field
        DB::table('tbl_building')->insert([
            [
                'building_name' => 'Gedung Utama',
                'address' => 'Jl. PLN 123, Pontianak, Kalimantan Barat',
                'status' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
            [
                'building_name' => 'Gedung 2',
                'address' => 'Jl. PLN 123, Pontianak, Kalimantan Barat',
                'status' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ],
        ]);
    }
}