package shop.alien.dining;

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.dining.*","shop.alien.util.*","shop.alien.config.http","shop.alien.config.properties"})
@EnableSwaggerBootstrapUI
@MapperScan({"shop.alien.mapper"})
@SpringBootApplication
@EnableFeignClients(basePackages = "shop.alien.dining.feign")
@EnableScheduling
public class   AlienDiningApplication {

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

}

