'string', ]; protected static function boot() { parent::boot(); static::creating(function ($model) { if (empty($model->id_soal)) { $model->id_soal = Str::uuid(); } }); } }