protected static function bootUuid()
    {
        static::creating(function ($model) {
            if (! Generator::isValid($model->{$model->getKeyName()})) {
                $model->{$model->getKeyName()} = Generator::uuid4()->toString();
            }
        });
    }