package com.xhpc.tradebill;

import com.xhpc.common.security.annotation.EnableCustomConfig;
import com.xhpc.common.security.annotation.EnableRyFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@EnableConfigurationProperties
@ConfigurationPropertiesScan(basePackages = {"com.xhpc.tradebill.config"})
@EnableCustomConfig
@SpringBootApplication
@EnableRyFeignClients
@EnableDiscoveryClient
@MapperScan("com.xhpc.tradebill.mapper")
public class XhpcTradebillApplication {

    public static void main(String[] args) {

        SpringApplication.run(XhpcTradebillApplication.class, args);
    }
}
