package shop.alien.store;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@ComponentScan({"shop.alien.store.*","shop.alien.util.*","shop.alien.config.http","shop.alien.config.properties"})
@EnableSwaggerBootstrapUI
@MapperScan({"shop.alien.mapper"})
@SpringBootApplication
@EnableFeignClients(basePackages = "shop.alien.store.feign")
@EnableScheduling
public class AlienStoreApplication {

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

}
