package com.taxi591.bankapi;
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.Configuration;
|
|
@Configuration
|
@EnableConfigurationProperties({BankProperties.class})
|
@ConditionalOnProperty(value = BankProperties.ENBALE_PREFIX, matchIfMissing = true)
|
@ComponentScan("com.taxi591.bankapi.service")
|
public class BankConfig {
|
|
|
|
|
}
|