<?php

namespace Database\Seeders;

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

class DormitorySeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('hostels')->truncate();
        DB::table('hostels')->insert([
            [
                'branch_id' => 1,
                'name' => 'hostel 01',
                // 'provost' => 'hostel provost 01',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'branch_id' => 1,
                'name' => 'hostel 02',
                // 'provost' => 'hostel provost 02',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'branch_id' => 1,
                'name' => 'hostel 03',
                // 'provost' => 'hostel provost 03',
                'created_at' => now(),
                'updated_at' => now(),
            ],
        ]);
    }
}
