package com.zsElectric.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 应用启动类
 *
 * @author Ray.Hao
 * @since 0.0.1
 */
@SpringBootApplication
@ConfigurationPropertiesScan // 开启配置属性绑定
@EnableScheduling // 开启Spring定时任务
public class ZsElectricBootApplication {

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

}
