yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.qianwen.core.tenant;
 
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(prefix = "blade.tenant")
 
public class BladeTenantProperties {
    private Boolean enhance = Boolean.FALSE;
    private Boolean license = Boolean.FALSE;
    private Boolean dynamicDatasource = Boolean.FALSE;
    private Boolean dynamicGlobal = Boolean.FALSE;
    private String column = "tenant_id";
    private Boolean annotationExclude = Boolean.FALSE;
    private List<String> excludeTables = new ArrayList<>();
 
    public void setEnhance(final Boolean enhance) {
        this.enhance = enhance;
    }
 
    public void setLicense(final Boolean license) {
        this.license = license;
    }
 
    public void setDynamicDatasource(final Boolean dynamicDatasource) {
        this.dynamicDatasource = dynamicDatasource;
    }
 
    public void setDynamicGlobal(final Boolean dynamicGlobal) {
        this.dynamicGlobal = dynamicGlobal;
    }
 
    public void setColumn(final String column) {
        this.column = column;
    }
 
    public void setAnnotationExclude(final Boolean annotationExclude) {
        this.annotationExclude = annotationExclude;
    }
 
    public void setExcludeTables(final List<String> excludeTables) {
        this.excludeTables = excludeTables;
    }
 
    public Boolean getEnhance() {
        return this.enhance;
    }
 
    public Boolean getLicense() {
        return this.license;
    }
 
    public Boolean getDynamicDatasource() {
        return this.dynamicDatasource;
    }
 
    public Boolean getDynamicGlobal() {
        return this.dynamicGlobal;
    }
 
    public String getColumn() {
        return this.column;
    }
 
    public Boolean getAnnotationExclude() {
        return this.annotationExclude;
    }
 
    public List<String> getExcludeTables() {
        return this.excludeTables;
    }
}