123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- 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;
- }
- }
|