类 StrategyConfig
java.lang.Object
com.baomidou.mybatisplus.generator.config.StrategyConfig
策略配置项
- 从以下版本开始:
- 2016/8/30
- 作者:
- YangHu, tangguo, hubin
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明@NotNull Controller
控制器配置控制器配置构建者@NotNull Entity
entity()
实体配置实体配置构建者@Nullable LikeTable
@Nullable LikeTable
@Nullable IOutputFile
boolean
boolean
isCapitalModeNaming
(@NotNull String word) 大写命名、字段符合大写字母数字下划线命名boolean
boolean
boolean
@NotNull Mapper
mapper()
Mapper配置Mapper配置构建者boolean
matchExcludeTable
(@NotNull String tableName) 排除表名匹配boolean
matchIncludeTable
(@NotNull String tableName) 包含表名匹配@NotNull Service
service()
Service配置Service配置构建者boolean
startsWithTablePrefix
(@NotNull String tableName) 表名称匹配过滤表前缀void
validate()
验证配置项
-
方法详细资料
-
entityBuilder
实体配置构建者- 返回:
- 实体配置构建者
- 从以下版本开始:
- 3.5.0
-
entity
实体配置- 返回:
- 实体配置
- 从以下版本开始:
- 3.5.0
-
controllerBuilder
控制器配置构建者- 返回:
- 控制器配置构建者
- 从以下版本开始:
- 3.5.0
-
controller
控制器配置- 返回:
- 控制器配置
- 从以下版本开始:
- 3.5.0
-
mapperBuilder
Mapper配置构建者- 返回:
- Mapper配置构建者
- 从以下版本开始:
- 3.5.0
-
mapper
Mapper配置- 返回:
- Mapper配置
- 从以下版本开始:
- 3.5.0
-
serviceBuilder
Service配置构建者- 返回:
- Service配置构建者
- 从以下版本开始:
- 3.5.0
-
service
Service配置- 返回:
- Service配置
- 从以下版本开始:
- 3.5.0
-
isCapitalModeNaming
大写命名、字段符合大写字母数字下划线命名- 参数:
word
- 待判断字符串
-
startsWithTablePrefix
表名称匹配过滤表前缀- 参数:
tableName
- 表名称- 从以下版本开始:
- 3.3.2
-
validate
public void validate()验证配置项- 从以下版本开始:
- 3.5.0
-
matchIncludeTable
包含表名匹配- 参数:
tableName
- 表名- 返回:
- 是否匹配
- 从以下版本开始:
- 3.5.0
-
matchExcludeTable
排除表名匹配- 参数:
tableName
- 表名- 返回:
- 是否匹配
- 从以下版本开始:
- 3.5.0
-
isCapitalMode
public boolean isCapitalMode() -
isSkipView
public boolean isSkipView() -
getTablePrefix
-
getTableSuffix
-
getFieldPrefix
-
getFieldSuffix
-
getInclude
-
getExclude
-
isEnableSqlFilter
public boolean isEnableSqlFilter() -
isEnableSchema
public boolean isEnableSchema() -
getLikeTable
-
getNotLikeTable
-
getOutputFile
-