'string', 'is_active' => 'boolean', 'created_date' => 'datetime', ]; // Boot method untuk otomatis mengisi UUID saat create // protected static function boot() // { // parent::boot(); // static::creating(function ($model) { // if (empty($model->id)) { // $model->id = (string) Str::uuid(); // } // }); // } // Jika ingin menggunakan created_date dari JSON sebagai pengganti created_at Laravel const CREATED_AT = 'created_date'; const UPDATED_AT = null; // Matikan jika tidak ada kolom updated_at }