public function generateUuid(Uuidentifiable $entity, bool $overwrite = false)
    {
        if (null === $entity->getUuid() || $overwrite) {
            $uuid = Uuid::uuid4()->toString();
            $entity->setUuid($uuid);
        }

        return $this;
    }