<?php

namespace Modules\Lpj\Database\Seeders;

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

class ArahMataAnginSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $arah_mata_angin = [
            [
                'name' => 'Utara',
            ],
            [
                'name' => 'Timur Laut',
            ],
            [
                'name' => 'Timur',
            ],
            [
                'name' => 'Tenggara',
            ],
            [
                'name' => 'Selatan',
            ],
            [
                'name' => 'Barat Daya',
            ],
            [
                'name' => 'Barat',
            ],
            [
                'name' => 'Barat Laut',
            ],
        ];

        foreach ($arah_mata_angin as $arah) {
            ArahMataAngin::insert($arah);
        }
    }
}
