package com.kmall.admin.config.datasource; /** * @author lhm * @createDate 2021-12-15 */ public class DataSourceProperties { private String env; private String url; private String username; private String password; private Integer initialSize; private Integer maxActive; private Integer minPoolSize; private Integer maxIdleTime; private Integer idleConnectionTestPeriod; private String driver; private Long idleTimeout; private Long maxLifetime; private Long connectionTimeout; private Integer maximumPoolSize; private Long validationTimeout; public String getEnv() { return env; } public void setEnv(String env) { this.env = env; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public Integer getInitialSize() { return initialSize; } public void setInitialSize(Integer initialSize) { this.initialSize = initialSize; } public Integer getMaxActive() { return maxActive; } public void setMaxActive(Integer maxActive) { this.maxActive = maxActive; } public Integer getMinPoolSize() { return minPoolSize; } public void setMinPoolSize(Integer minPoolSize) { this.minPoolSize = minPoolSize; } public Integer getMaxIdleTime() { return maxIdleTime; } public void setMaxIdleTime(Integer maxIdleTime) { this.maxIdleTime = maxIdleTime; } public Integer getIdleConnectionTestPeriod() { return idleConnectionTestPeriod; } public void setIdleConnectionTestPeriod(Integer idleConnectionTestPeriod) { this.idleConnectionTestPeriod = idleConnectionTestPeriod; } public String getDriver() { return driver; } public void setDriver(String driver) { this.driver = driver; } public Long getIdleTimeout() { return idleTimeout; } public void setIdleTimeout(Long idleTimeout) { this.idleTimeout = idleTimeout; } public Long getMaxLifetime() { return maxLifetime; } public void setMaxLifetime(Long maxLifetime) { this.maxLifetime = maxLifetime; } public Long getConnectionTimeout() { return connectionTimeout; } public void setConnectionTimeout(Long connectionTimeout) { this.connectionTimeout = connectionTimeout; } public Integer getMaximumPoolSize() { return maximumPoolSize; } public void setMaximumPoolSize(Integer maximumPoolSize) { this.maximumPoolSize = maximumPoolSize; } public Long getValidationTimeout() { return validationTimeout; } public void setValidationTimeout(Long validationTimeout) { this.validationTimeout = validationTimeout; } }