argos/notification-service/notification/src/main/java/gr/cite/notification/common/scope/tenant/MultitenancyProperties.java

30 lines
778 B
Java
Raw Normal View History

2023-12-08 10:25:07 +01:00
package gr.cite.notification.common.scope.tenant;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "tenant.multitenancy")
public class MultitenancyProperties {
private boolean isMultitenant;
2024-04-04 15:39:40 +02:00
private String defaultTenantCode;
2023-12-08 10:25:07 +01:00
public boolean isMultitenant() {
return isMultitenant;
}
public void setIsMultitenant(boolean multitenant) {
isMultitenant = multitenant;
}
2024-04-04 15:39:40 +02:00
public void setMultitenant(boolean multitenant) {
isMultitenant = multitenant;
}
public String getDefaultTenantCode() {
return defaultTenantCode;
}
public void setDefaultTenantCode(String defaultTenantCode) {
this.defaultTenantCode = defaultTenantCode;
}
2023-12-08 10:25:07 +01:00
}