java.lang.Object
com.baomidou.mybatisplus.generator.config.builder.Controller
所有已实现的接口:
ITemplate, Serializable

public class Controller extends Object implements ITemplate
控制器属性配置
从以下版本开始:
3.5.0
作者:
nieqiurong 2020/10/11.
另请参阅:
  • 方法详细资料

    • getSuperClass

      @Nullable public @Nullable String getSuperClass()
    • getConverterFileName

      @NotNull public @NotNull ConverterFileName getConverterFileName()
    • renderData

      @NotNull public @NotNull Map<String,Object> renderData(@NotNull @NotNull TableInfo tableInfo)
      指定者:
      renderData 在接口中 ITemplate
    • isRestStyle

      public boolean isRestStyle()
      生成 @RestController 控制器(默认 false)
            @Controller -> @RestController
       
    • isHyphenStyle

      public boolean isHyphenStyle()
      驼峰转连字符(默认 false)
            @RequestMapping("/managerUserActionHistory") -> @RequestMapping("/manager-user-action-history")
       
    • isFileOverride

      public boolean isFileOverride()
      是否覆盖已有文件(默认 false)
      从以下版本开始:
      3.5.2
    • isGenerate

      public boolean isGenerate()
      是否生成
      从以下版本开始:
      3.5.6
    • getTemplatePath

      public String getTemplatePath()
      模板路径
      从以下版本开始:
      3.5.6