public function getRelationship($alias) {
        if(array_key_exists($alias, $this->getCustomParentRelationships())) {
            return $this->getCustomParentRelationships()[$alias];
        } else {
            return $this->getModelsManager()->getRelationByAlias(get_class($this), $alias);
        }
    }