code: public function generateRelationUses($relations)
      {
          $uses = [];
          foreach ($relations as $relation) {
              if (isset($this->modelMap[$relation[1]])) {
                  $uses[] = 'use ' . $this->modelMap[$relation[1]] . ';';
              }
          }
  
          return implode("\n", array_unique($uses));
      }
docs: [[@doctodo method_description:generateRelationUses]].
  
  @param [[@doctodo param_type:relations]] $relations [[@doctodo param_description:relations]]
  
  @return [[@doctodo return_type:generateRelationUses]] [[@doctodo return_description:generateRelationUses]]