package com.qaup;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author qaup
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableScheduling

public class QuapApplication
{
    private static final Logger logger = LoggerFactory.getLogger(QuapApplication.class);

    public static void main(String[] args)
    {
        logger.info("🚀 青岛机场无人车管理系统正在启动...");
        
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(QuapApplication.class, args);
        
        logger.info("✅ 后台管理系统启动成功!");
        logger.info("🌐 访问地址: http://localhost:8080");
        logger.info("🔗 WebSocket端点: ws://localhost:8080/collision");
        System.out.println("(♥)  后台管理系统启动成功\n");
    }
}
