'array', ]; protected static function booted() { static::creating(function ($model) { if (empty($model->id)) { $model->id = (string) Str::uuid(); } }); } }