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 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 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 getExcludeTables() { return this.excludeTables; } }