package cn.stylefeng.guns.gen.core.generator.restful.mybatisplus.param;
|
|
import lombok.Data;
|
|
/**
|
* 代码生成所需要的上下文参数
|
*
|
* @author fengshuonan
|
* @date 2018-12-12-4:30 PM
|
*/
|
@Data
|
public class MpParam {
|
|
/**
|
* 移除表前缀
|
*/
|
private String[] removeTablePrefix = {""};
|
|
/**
|
* 包含的表名称
|
*/
|
private String[] includeTables;
|
|
/**
|
* 是否生成service的接口
|
*/
|
private Boolean generatorInterface = true;
|
|
public String[] getRemoveTablePrefix() {
|
return removeTablePrefix;
|
}
|
|
public void setRemoveTablePrefix(String[] removeTablePrefix) {
|
this.removeTablePrefix = removeTablePrefix;
|
}
|
|
public String[] getIncludeTables() {
|
return includeTables;
|
}
|
|
public void setIncludeTables(String[] includeTables) {
|
this.includeTables = includeTables;
|
}
|
|
public Boolean getGeneratorInterface() {
|
return generatorInterface;
|
}
|
|
public void setGeneratorInterface(Boolean generatorInterface) {
|
this.generatorInterface = generatorInterface;
|
}
|
}
|