<?php

namespace Database\Seeders;

use App\Models\LandDetail;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class LandDetailSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {

        $lands = [
            ['land_id' => 1, 'lat' => -8.1568135761461, 'lng' => 113.72213107346],
            ['land_id' => 1, 'lat' => -8.1569410196838, 'lng' => 113.72253481549],
            ['land_id' => 1, 'lat' => -8.1570286370925, 'lng' => 113.72250664744],
            ['land_id' => 1, 'lat' => -8.1568985385091, 'lng' => 113.72210156407],
        ];

        foreach ($lands as $land) {
            LandDetail::create($land);
        }
    }
}
