package com.suvalue.example.suvaluebootdemoapi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//@MapperScan("com.suvalue.example.suvaluebootdemoapi.mapper")
@ComponentScan(basePackages = {"com.suvalue.boot.common.config.swaggerconfig","com.suvalue.example.suvaluebootdemoapi"})
public class SuvalueBootDemoApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(SuvalueBootDemoApiApplication.class, args);
    }
}
