private function getJoinTable($class)
    {
        $model1 = snake_case($this->getBaseClass());
        $model2 = snake_case($this->getBaseClass($class));
        $models = [$model1, $model2];
        sort($models);

        return implode('_', $models);
    }