Membuat tampilan menu master ijin usaha
This commit is contained in:
32
app/Models/KJPP.php
Normal file
32
app/Models/KJPP.php
Normal 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();
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user