This commit introduces seeders for various entities in the database, including HubunganPemilikJaminan, JenisFasilitasKredit, and others. These seeders populate the database with initial data for testing and development purposes.
129 lines
4.2 KiB
PHP
129 lines
4.2 KiB
PHP
<?php
|
|
|
|
namespace Modules\Lpj\Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Modules\Lpj\Models\StatusPermohonan;
|
|
|
|
class StatusPermohonanSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
StatusPermohonan::insert([
|
|
[
|
|
'name' => 'Order',
|
|
'slug' => 'order',
|
|
'description' => 'Status pengisian pengajuan dari AO sampai dengan approval dari BD atau EO Pemohon',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Revisi',
|
|
'slug' => 'revisi',
|
|
'description' => 'Back to pemohon dari admin',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Register',
|
|
'slug' => 'register',
|
|
'description' => 'pengajuan pemohon yang sudah diperiksa admin dan diproses ke SO',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Assign',
|
|
'slug' => 'assign',
|
|
'description' => 'posisi dari SO ke penilai setelah penunjukkan penilai',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Survey',
|
|
'slug' => 'survey',
|
|
'description' => 'tanggal kunjungan yang sudah ditentukan',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Proses Laporan',
|
|
'slug' => 'proses-laporan',
|
|
'description' => 'posisi penginputan yang dilakukan oleh penilai, dengan indikator tanggal kunjungan sampai laporan selesai (sesuai SLA)',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Approved',
|
|
'slug' => 'approved',
|
|
'description' => 'Laporan atau resume selesai',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Delivered',
|
|
'slug' => 'delivered',
|
|
'description' => 'Sudah isi nilai likuidasi',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 1,
|
|
'updated_by' => 1
|
|
],
|
|
[
|
|
'name' => 'Registered',
|
|
'slug' => 'registered',
|
|
'description' => 'abc',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 2,
|
|
'updated_by' => 2
|
|
],
|
|
[
|
|
'name' => 'Tender',
|
|
'slug' => 'tender',
|
|
'description' => 'abc',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 2,
|
|
'updated_by' => 2
|
|
],
|
|
[
|
|
'name' => 'Done',
|
|
'slug' => 'done',
|
|
'description' => 'abc',
|
|
'status' => 1,
|
|
'created_at' => now(),
|
|
'updated_at' => now(),
|
|
'created_by' => 2,
|
|
'updated_by' => 2
|
|
]
|
|
]);
|
|
}
|
|
}
|