33 lines
594 B
PHP
33 lines
594 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Adaptation extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'adaptation';
|
|
|
|
protected $keyType = 'string';
|
|
public $incrementing = false;
|
|
|
|
protected $casts = [
|
|
'id' => 'string',
|
|
'is_active' => 'bool'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'id',
|
|
'sector',
|
|
'sub_sector',
|
|
'kategori_aksi',
|
|
'jenis_aksi',
|
|
'aksi',
|
|
'is_active',
|
|
'created_by',
|
|
'updated_by'
|
|
];
|
|
} |