<?php

namespace Modules\Lpj\Database\Seeders;

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

class HubunganPemilikJaminanSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $hubungan_pemilik_jaminan = [
            [
                'name' => 'Milik Pribadi'
            ],
            [
                'name' => 'Suami/Istri'
            ],
            [
                'name' => 'Anak'
            ],
            [
                'name' => 'Saudara Kandung'
            ],
            [
                'name' => 'Ayah'
            ],
            [
                'name' => 'Ibu'
            ]
        ];

        foreach ($hubungan_pemilik_jaminan as $hpj) {
            HubunganPemilikJaminan::insert($hpj);
        }
    }
}
