<?php

namespace Modules\Lpj\Database\Seeders;

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

class PenawaranSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        PenawaranTender::insert([
            [
                'code' => 'NP001',
                'nomor_registrasi' => 'REG0000002',
                'tujuan_penilaian_kjpp_id' => 3,
                'jenis_laporan_id' => 2,
                'start_date' => '2024-10-21',
                'end_date' => '2024-10-28',
                'catatan' => 'Hai',
                'status' => 'tender',
                'created_at' => now(),
                'updated_at' => now(),
                'created_by' => 1,
                'updated_by' => 1
            ],
            [
                'code' => 'NP002',
                'nomor_registrasi' => 'REG0000003',
                'tujuan_penilaian_kjpp_id' => 1,
                'jenis_laporan_id' => 1,
                'start_date' => '2024-10-28',
                'end_date' => '2024-10-31',
                'catatan' => null,
                'status' => 'tender',
                'created_at' => now(),
                'updated_at' => now(),
                'created_by' => 1,
                'updated_by' => 1
            ]
        ]);
    }
}
