Uses of Class
cn.cloudself.query.generator.QueryProFileMaker
-
Packages that use QueryProFileMaker Package Description cn.cloudself.query.generator -
-
Uses of QueryProFileMaker in cn.cloudself.query.generator
Methods in cn.cloudself.query.generator that return QueryProFileMaker Modifier and Type Method Description QueryProFileMakerQueryProFileMaker. chain()生成的JavaBean允许链式setQueryProFileMakerQueryProFileMaker. daoExCodes(String codes)加入dao中的额外方法QueryProFileMakerQueryProFileMaker. db(DbInfo db)指定dbQueryProFileMakerQueryProFileMaker. dbJavaNameConverter(NameConverter nameConverter)自定义名称转换器(用于转换数据库table, column名称至java类名,属性名)QueryProFileMakerQueryProFileMaker. debug()显示更多输出QueryProFileMakerQueryProFileMaker. debug(boolean useLogger)显示更多输出QueryProFileMakerQueryProFileMaker. defaultDataSource(String code)默认的DataSource获取方法static QueryProFileMakerQueryProFileMaker. entityAndDaoMode(FilePathResolver filePathResolver)生成entity和dao至两个文件 Java版, 参考 [QueryProFileMaker.entityAndDaoMode] 注意对于特殊构造的数据库结构,可能被注入Java代码到生成的(Entity, Dao)源文件中,所以可能有任意代码执行的风险QueryProFileMakerQueryProFileMaker. entityExMethods(String codes)加入实体类的额外方法QueryProFileMakerQueryProFileMaker. entityExPropertyAnnotations(Function<TemplateModel.Column,List<String>> annotationGenerator)QueryProFileMakerQueryProFileMaker. entityFileTemplatePath(String path)自定义entity的模板QueryProFileMakerQueryProFileMaker. excludeTables(String... tables)指定需要排除生成QueryPro文件的表名QueryProFileMakerQueryProFileMaker. excludeTables(Predicate<String> filter)指定需要排除生成QueryPro文件的表名QueryProFileMakerQueryProFileMaker. replaceMode()是否替换掉已有的文件 默认falseQueryProFileMakerQueryProFileMaker. replaceMode(boolean replaceMode)是否替换掉已有的文件 默认falseQueryProFileMakerQueryProFileMaker. skipReplaceEntity()QueryProFileMakerQueryProFileMaker. skipReplaceEntity(boolean skipReplaceEntity)QueryProFileMakerQueryProFileMaker. swaggerSupport(Boolean swaggerSupport)添加swagger的支持(包括但不限于在Entity上面添加ApiModelProperty注解)QueryProFileMakerQueryProFileMaker. tables(String... tables)指定需要生成QueryPro文件的表名,允许为"*",代表所有, 注意对于特殊构造的数据库结构,可能被注入Java代码到生成的(Entity, Dao)源文件中,所以可能有任意代码执行的风险
-