package com.shinsoft.sto;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@EnableFeignClients(basePackages = {"com.shinsoft"})
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.shinsoft"})
@MapperScan("com.shinsoft.**.mapper")
@EnableTransactionManagement
public class StoApplication {

    public static void main(String[] args) {
        SpringApplication.run(StoApplication.class, args);
    }

}
