类 TemplateConfig

java.lang.Object
com.baomidou.mybatisplus.generator.config.TemplateConfig

public class TemplateConfig extends Object
模板路径配置项
从以下版本开始:
2017-06-17
作者:
tzg hubin
  • 方法详细资料

    • getEntity

      public String getEntity(boolean kotlin)
      获取实体模板路径
      参数:
      kotlin - 是否kotlin
      返回:
      模板路径
    • disable

      public TemplateConfig disable(@NotNull @NotNull TemplateType... templateTypes)
      禁用模板
      参数:
      templateTypes - 模板类型
      返回:
      this
      从以下版本开始:
      3.3.2
    • disable

      public TemplateConfig disable()
      禁用全部模板
      返回:
      this
      从以下版本开始:
      3.5.0
    • getService

      public String getService()
    • getServiceImpl

      public String getServiceImpl()
    • getMapper

      public String getMapper()
    • getXml

      public String getXml()
    • getController

      public String getController()