<?php

namespace Modules\Lpj\Database\Seeders;

use Illuminate\Database\Seeder;
use Modules\Lpj\Models\HubunganPenghuniJaminan;

class HubunganPenghuniJaminanSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $hubungan_penghuni_jaminan = [
            [
                'name' => 'Suami/Istri',
            ],
            [
                'name' => 'Anak',
            ],
            [
                'name' => 'Saudara Kandung',
            ],
            [
                'name' => 'Orang Tua',
            ],
            [
                'name' => 'Kontrak/Kost'
            ]
        ];

        foreach ($hubungan_penghuni_jaminan as $hpj) {
            HubunganPenghuniJaminan::insert($hpj);
        }
    }
}
