Initial Commit

This commit is contained in:
2025-05-06 15:05:09 +07:00
commit 7b885d7d45
695 changed files with 119779 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
<?php
namespace Modules\Lpj\Database\Seeders;
use Illuminate\Database\Seeder;
use Modules\Lpj\Models\NilaiPlafond;
class NilaiPlatformSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$nilai_platfond = [
[
'code' => 'NP001',
'name' => '5 M - 10 M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
],
[
'code' => 'NP002',
'name' => '2 M - 5 M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
],
[
'code' => 'NP003',
'name' => '< 2M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
],
[
'code' => 'NP004',
'name' => '> 10 M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
]
];
foreach ($nilai_platfond as $np) {
NilaiPlafond::insert($np);
}
}
}