package com.railway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * 启动程序
 *
 * @author railway
 */
@EnableOpenApi
@EnableScheduling
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class RailwayApplication {

  public static void main(String[] args) {
    SpringApplication.run(RailwayApplication.class, args);
    System.out.println("启动成功");
  }
}