<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Suiterus\Adg\Models\SM\Loan;
use App\Enums\LoansStatus;

class LoanSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $loans = [
            [
                "name" => "SSS",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()
            ],
            [
                "name" => "PAGIBIG",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()
            ],
            [
                "name" => "Philhealth",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()
            ],
            [
                "name" => "Calamity Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()
            ],
            [
                "name" => "Cash Loan/Company Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()
            ],
            [
                "name" => "Consolidation Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "ECARDPLUS",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Salary Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Cash Advance",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Emergency Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Educational Assistance Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Emergency Loan Assistance",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Summer One-Month Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "PLREG",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "PLOPT",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "REL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "LCH_DCS",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "Stock Purchase Loan",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "OPT_LIFE",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "CEAP",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "EDU_CHILD",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GENESIS",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GENPLUS",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GENFLEXI",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GENSPCL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "HELP",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GFAL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "MPL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "CPL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            [
                "name" => "GEL",
                "status" => LoansStatus::ACTIVE,
                "created_at" => now()   
            ],
            
        ];

        Loan::insert($loans);
    }
}
