Membuat tampilan menu master ijin usaha

This commit is contained in:
2024-09-18 11:06:17 +07:00
parent b2b7559ed0
commit 2041b38980
16 changed files with 943 additions and 20 deletions

32
app/Models/KJPP.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
namespace Modules\Lpj\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
// use Modules\Lpj\Database\Factories\KJPPFactory;
class KJPP extends Model
{
use HasFactory;
// Define the table if not using default table naming
protected $table = 'kjpp';
/**
* The attributes that are mass assignable.
*/
protected $guarded = ['id'];
// If you're using JSON columns, you may want to cast them properly
protected $casts = [
'jenis_usaha' => 'array',
'pengalaman' => 'array',
'kerjasama_sejak' => 'date', // For date fields
];
// protected static function newFactory(): KJPPFactory
// {
// //return KJPPFactory::new();
// }
}