package com.casic.missiles;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * SpringBoot启动类
 */
@SpringBootApplication
@EnableCaching
@EnableTransactionManagement(proxyTargetClass = true)
@EnableAsync
@Slf4j
@EnableScheduling
public class CasicPortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(CasicPortalApplication.class, args);
        log.info("CasicPortalApplication is success!");
    }

}
