public function getModelName(): string
    {
        $className = get_class($this);

        $postfix = $this->getFactory()->getFactoryPostfix();
        $namespace = $this->getFactory()->getFactoryNamespace();

        if ($postfix != '') {
            $result = substr($className, strlen($namespace), strlen($postfix) * -1);
        } else {
            $result = substr($className, strlen($namespace));
        }

        return $result;
    }