package com.yeejoin.amos.boot.module.ys.biz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author shg
 */
@Component
@ConfigurationProperties(prefix = "spring.datasource.hikari")
@Data
public class HikariDataSourceProperties {


    private int maximumPoolSize;

    private int minimumIdle;

    private boolean autoCommit;

    private long idleTimeout;

    private String poolName;

    private long maxLifetime;

    private long connectionTimeout;

    private String connectionTestQuery;

    private long validationTimeout;

    private String connectionInitSql;

}
