package com.fufan.mtsaas;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication(scanBasePackages = {
        "com.fufan.mtsaas",
        "com.fufan.mtsaas.config",
        "com.fufan.mtsaas.websocket"
})
@PropertySource(value = "classpath:config/param.properties")
@MapperScan("com.fufan.mtsaas.modules")
@EnableScheduling
public class MTPlatformApplication {

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

}
