public function setInherited($inherited)
    {
        $this->inherited = (bool) $inherited;

        if ($inherited) {
            if (! $this->reflectionModel->isRoot()) {
                $rootRepo = Container::get($this->reflectionModel->getRoot()->getName());
                $this->rootConfig = $rootRepo->getConfig();
            }

            $this->table = $this->rootConfig->getTable();
        }

        return $this;
    }