public class ActionConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
deleteById
删除
|
private boolean |
enable
是否启用
|
private boolean |
find
分页
|
private boolean |
generic
是否含有泛型
|
private boolean |
getById
单个查询
|
private boolean |
injectService
注入service
|
private String |
packageName
实体类包名
|
private String |
returnClass
save update 等返回的类型
|
private String |
returnClassName
返回的名字
|
private boolean |
save
新增
|
private String |
suffix
mapper后缀
|
private String |
superClass
控制器父类
|
private boolean |
update
修改
|
| 构造器和说明 |
|---|
ActionConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
ActionConfig |
deleteById(boolean deleteById)
是否生成deleteById方法
|
ActionConfig |
enable(boolean enable)
设置是否启用
|
ActionConfig |
find(boolean find)
是否生成find方法
|
ActionConfig |
generic(boolean generic)
启用泛型
|
ActionConfig |
getById(boolean getById)
是否生成getById方法
|
ActionConfig |
injectService(boolean injectService)
是否注入service
|
ActionConfig |
packageName(String packageName)
控制器的包名
|
ActionConfig |
returnClass(String returnClass)
控制器save,update,...等返回的类
|
ActionConfig |
save(boolean save)
是否生成save方法
|
ActionConfig |
suffix(String suffix)
控制器的后缀
|
ActionConfig |
superClass(String superClass)
控制器父类
|
ActionConfig |
update(boolean update)
是否生成update方法
|
private boolean enable
private String superClass
private boolean injectService
private boolean generic
private boolean save
private boolean update
private boolean deleteById
private boolean find
private boolean getById
private String packageName
private String returnClass
private String returnClassName
public ActionConfig()
public ActionConfig enable(boolean enable)
public ActionConfig superClass(String superClass)
public ActionConfig injectService(boolean injectService)
injectService - public ActionConfig generic(boolean generic)
public ActionConfig save(boolean save)
save - public ActionConfig update(boolean update)
update - public ActionConfig deleteById(boolean deleteById)
deleteById - public ActionConfig find(boolean find)
find - public ActionConfig getById(boolean getById)
getById - public ActionConfig packageName(String packageName)
packageName - public ActionConfig suffix(String suffix)
suffix - public ActionConfig returnClass(String returnClass)
returnClass - Copyright © 2023. All rights reserved.