public function getModelName()
    {
        $tableName = $this->getRawTableName();

        // check if table name is plural --> convert to singular
        if (
            !$this->getConfig()->get(FormatterInterface::CFG_SKIP_PLURAL) &&
            ($tableName != ($singular = Inflector::singularize($tableName)))
        ) {
            $tableName = $singular;
        }

        return $this->beautify($tableName);
    }