懒羊羊
2023-11-14 8286c62256f23bc2367a6729c0f46f84215e380b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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;
    }
}