<?php

namespace Modules\Lpj\Database\Seeders;

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

class DetailPenawaranSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        PenawaranDetailTender::insert([
            [
                'kjpp_rekanan_id' => 1,
                'penawaran_id' => 1,
                'biaya_penawaran' => 15000000,
                'attachment' => 'Test.pdf',
                'dokumen_persetujuan' => 'uploads/penawaran/1_1_Test_2_1729826174.pdf',
                'status' => 1,
                'created_at' => now(),
                'updated_at' => now(),
                'created_by' => 1,
                'updated_by' => 1
            ],
            [
                'kjpp_rekanan_id' => 2,
                'penawaran_id' => 1,
                'biaya_penawaran' => 30000000,
                'attachment' => 'Test.pdf',
                'dokumen_persetujuan' => 'uploads/penawaran/2_2_Test_2_1729826198.pdf',
                'status' => 1,
                'created_at' => now(),
                'updated_at' => now(),
                'created_by' => 1,
                'updated_by' => 1
            ],
            [
                'kjpp_rekanan_id' => 3,
                'penawaran_id' => 1,
                'biaya_penawaran' => 20000000,
                'attachment' => 'Test.pdf',
                'dokumen_persetujuan' => 'uploads/penawaran/3_3_Test_2_1729826215.pdf',
                'status' => 1,
                'created_at' => now(),
                'updated_at' => now(),
                'created_by' => 1,
                'updated_by' => 1
            ]
        ]);
    }
}
